public function countBy(array $criteria = array()) { return $this->getRepository()->countBy($criteria); }