public function getIteratorCount(IEntity $parent, ICollection $collection);
public function getEntityCount(IEntity $parent = NULL) { if ($this->relationshipMapper) { return $this->relationshipMapper->getIteratorCount($parent, $this); } return $this->getIteratorCount(); }