Fixed compilation error on testCountWithPredicate
Removed duplicated method countWithPredicate
Removed testCountWithPredicate