public function getTotalCountFromData($maxResults = null)
    {
        return $maxResults === null ? $this->count : min($this->count, $maxResults);
    }
public function getTotalCountFromData($maxResults = null)
    {
        return $maxResults === null ? $this->count : min($this->count, $maxResults);
    }
public function getTotalCountFromData ( $ maxResults = null ) { return $ maxResults === null ? $ this -> count : min ( $ this -> count , $ maxResults ) ; }
Get Total count of data items.

@return int
Get Total count of data items .