getIteratorCount() public method

Returns iterator's counts.
public getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection ) : integer
$parent Nextras\Orm\Entity\IEntity
$collection Nextras\Orm\Collection\ICollection
return integer
 public function getEntityCount(IEntity $parent = NULL)
 {
     if ($this->relationshipMapper) {
         return $this->relationshipMapper->getIteratorCount($parent, $this);
     }
     return $this->getIteratorCount();
 }