src/Fusonic/Linq/Linq.php
public function count()
    {
        if ($this->iterator instanceof Countable) {
            return $this->iterator->count();
        }

        return iterator_count($this->iterator);
    }
public function count()
    {
        if ($this->iterator instanceof Countable) {
            return $this->iterator->count();
        }

        return iterator_count($this->iterator);
    }
public function count ( ) { if ( $ this -> iterator instanceof Countable ) { return $ this -> iterator -> count ( ) ; } return iterator_count ( $ this -> iterator ) ; }
Counts the elements of this Linq sequence.
@return int
Counts the elements of this Linq sequence .