public function getCount()
    {
        if ($this->count === NULL) {
            $this->count = $this->getModel()->getCount();
        }

        return $this->count;
    }
public function getCount()
    {
        if ($this->count === NULL) {
            $this->count = $this->getModel()->getCount();
        }

        return $this->count;
    }
public function getCount ( ) { if ( $ this -> count === NULL ) { $ this -> count = $ this -> getModel ( ) -> getCount ( ) ; } return $ this -> count ; }
Returns total count of data.
@return int
Returns total count of data .