Fix EntityManager Count methods (one would throw exception, one is verbose)