src/CollectionDataTable.php
public function count()
    {
        return $this->collection->count() > $this->totalRecords ? $this->totalRecords : $this->collection->count();
    }
public function count()
    {
        return $this->collection->count() > $this->totalRecords ? $this->totalRecords : $this->collection->count();
    }
public function count ( ) { return $ this -> collection -> count ( ) > $ this -> totalRecords ? $ this -> totalRecords : $ this -> collection -> count ( ) ; }
Count results.

@return int
Count results .