public function getCountBy(array $criteria = array()) { return (int) $this->repository->getCountBy($criteria); }