src/ActiveDoctrine/Selector/AbstractSelector.php
/**
     * Turn this query into a 'count' query, returning the number of
     * rows in the database instead of the results.
     */
Turn this query into a 'count' query, returning the number of
rows in the database instead of the results.
Turn this query into a ' count ' query returning the number of rows in the database instead of the results .
public function count()
    {
        $this->counting = true;
        return $this;
    }
public function count ( ) { $ this -> counting = true ; return $ this ; }
Turn this query into a 'count' query, returning the number of
 rows in the database instead of the results.
Turn this query into a ' count ' query returning the number of rows in the database instead of the results .