unit tests for count added, tests for count with predicate still missing.