public function count(QueryBuilderInterface $Builder) {
        $this->parsedQuery = $this->getSerialyser()->setCriteriaList($Builder)->count(true)->serialyse();
        $statement = $this->connector->query($this->parsedQuery);
        $result    = $this->statementToArray($statement);
        return (int)reset($result)->cpt;
    }
public function count(QueryBuilderInterface $Builder) {
        $this->parsedQuery = $this->getSerialyser()->setCriteriaList($Builder)->count(true)->serialyse();
        $statement = $this->connector->query($this->parsedQuery);
        $result    = $this->statementToArray($statement);
        return (int)reset($result)->cpt;
    }
public function count ( QueryBuilderInterface $ Builder ) { $ this -> parsedQuery = $ this -> getSerialyser ( ) -> setCriteriaList ( $ Builder ) -> count ( true ) -> serialyse ( ) ; $ statement = $ this -> connector -> query ( $ this -> parsedQuery ) ; $ result = $ this -> statementToArray ( $ statement ) ; return ( int ) reset ( $ result ) -> cpt ; }
return total count result
@param QueryBuilderInterface $Builder
@return integer
return total count result