public function countBy(array $criteria) { return $this->em->getRepository('Newscoop\\Entity\\AuditEvent')->countBy($criteria); }