public function count()
    {
        if ($this->countCached === null) {
            $pageSize = $this->pageSize;
            $this->pageSize = 1;
            $this->makeQuery(1);
            $this->pageSize = $pageSize;
        }

        return $this->countCached;
    }
public function count()
    {
        if ($this->countCached === null) {
            $pageSize = $this->pageSize;
            $this->pageSize = 1;
            $this->makeQuery(1);
            $this->pageSize = $pageSize;
        }

        return $this->countCached;
    }
public function count ( ) { if ( $ this -> countCached === null ) { $ pageSize = $ this -> pageSize ; $ this -> pageSize = 1 ; $ this -> makeQuery ( 1 ) ; $ this -> pageSize = $ pageSize ; } return $ this -> countCached ; }
Total amount of objects matched by the current query, reading this
may cause a remote request.

@return null
Total amount of objects matched by the current query reading this may cause a remote request .