public function getApartmentsInRegistrationProcessCount() { /* @var $apartmentsDao \DDD\Dao\Apartment\General */ $apartmentsDao = new \DDD\Dao\Apartment\General($this->getServiceLocator()); $count = $apartmentsDao->getApartmentsInRegistrationProcessCount(); return $count; }