Paginator/Paginator.php
public function getTotalItems($id = null)
    {
        $hash = md5($id);
        return isset($this->totalItems[$hash]) ? $this->totalItems[$hash] : 0;
    }
public function getTotalItems($id = null)
    {
        $hash = md5($id);
        return isset($this->totalItems[$hash]) ? $this->totalItems[$hash] : 0;
    }
public function getTotalItems ( $ id = null ) { $ hash = md5 ( $ id ) ; return isset ( $ this -> totalItems [ $ hash ] ) ? $ this -> totalItems [ $ hash ] : 0 ; }
Get the total items in the non-paginated version of the query

@param string $id
@return int
Get the total items in the non - paginated version of the query