Counts all the results collected by the iterators.
public function count() : int { return iterator_count($this->getIterator()); }