public function getIteratorCount(IEntity $parent, ICollection $collection) { return count($this->getIterator($parent, $collection)); }