Currently, the AbstractCountCommand contains an enum that is relatively fixed in capability. Should probably be extracted out of the enum and make generic so that more flexible items can be handled (Ability will need to be CNAbility, so CDOMObject items as used today will not work)
Count: Committed revision 23232.
countdistinct() not yet done
Committed revision 23234.