public function count() { if (!isset($this->_count)) { $this->_count = $this->_iterator->count(); } return $this->_count; }