public function count() { $count = 0; foreach (array_keys($this->_indices) as $key) { $count += count($this->_indices[$key]); } return $count; }