src/QueryDataTable.php
public function totalCount()
    {
        if ($this->skipTotalRecords) {
            return true;
        }

        return $this->totalRecords ? $this->totalRecords : $this->count();
    }
public function totalCount()
    {
        if ($this->skipTotalRecords) {
            return true;
        }

        return $this->totalRecords ? $this->totalRecords : $this->count();
    }
public function totalCount ( ) { if ( $ this -> skipTotalRecords ) { return true ; } return $ this -> totalRecords ? $ this -> totalRecords : $ this -> count ( ) ; }
Count total items.

@return int
Count total items .