/** * Retrieve number of loaded stores * * @return int */ public function countStores() { return sizeof($this->_stores->getItems()); }