src/ActiveDoctrine/Entity/EntitySelector.php
/**
     * Turn this query into a 'count' query, returning the number of
     * rows instead of entities.
     */
Turn this query into a 'count' query, returning the number of
rows instead of entities.
Turn this query into a ' count ' query returning the number of rows instead of entities .
public function count()
    {
        $this->counting = true;
        $this->selector->count();
        return $this;
    }
public function count ( ) { $ this -> counting = true ; $ this -> selector -> count ( ) ; return $ this ; }
Turn this query into a 'count' query, returning the number of
 rows instead of entities.
Turn this query into a ' count ' query returning the number of rows instead of entities .