count predicates