public function count() { if (!$this->isInitialized()) { return count($this->referencedNodes); } return parent::count(); }