doctrine/doctrine2 — pull request #560 by alex-signature-it (2013-01-27 12:25:31+00:00)
Title: Add EntityRepository->countBy() method to complement findBy()

It would be reasonable to add the method to ObjectRepository interface, but I might not be aware of all its implementations that will become broken