public function countCollections() { if (empty($this->_data['collections'])) { return 0; } return count($this->_data['collections']); }
/** * Return the count of collections in the cache only. * * @return integer */ public function cachedCollectionCount() { return $this->_cache->countCollections(); }