public function count() : int
    {
        return (int)$this->getQueryBuilder()
            ->count('*')
            ->from($this->table)
            ->execute()->fetchColumn(0);
    }
public function count() : int
    {
        return (int)$this->getQueryBuilder()
            ->count('*')
            ->from($this->table)
            ->execute()->fetchColumn(0);
    }
public function count ( ) : int { return ( int ) $ this -> getQueryBuilder ( ) -> count ( '*' ) -> from ( $ this -> table ) -> execute ( ) -> fetchColumn ( 0 ) ; }
Returns current count of last searches

@return int
Returns current count of last searches