The count scripting command yields inconsistent results on config classes. Usually it counts all entries in a class, including inherited. For example:
class A {
entry1 = 1; entry2 = 2;
};
class B : A {
entry3 = 3;
};
A count on A yields 2, and a count on B yields 3, as expected.
However:
class C: B {
};
yields zero, since the class only inherit but doesn't define any entries itself.