java.lang.Object
com.evolveum.midpoint.web.application.SimpleCounter<AssignmentHolderDetailsModel<AssignmentHolderType>,AssignmentHolderType>
com.evolveum.midpoint.gui.impl.page.admin.systemconfiguration.component.policies.GlobalPolicyRuleCounter

Created by Viliam Repan (lazyman). TODO actual implementation not very nice since it contains multiple ifs based on for which ObjectType and specific field we're doing the count

It either should be multiple classes per concrete use (type and itempath) or probably better pointer to container which values we want to count (in this case GlobalPolicyRuleType container)