Mmanos\Search\Query::count PHP Method

count() public method

Execute the current query and return the total number of results.
public count ( ) : integer
return integer
    public function count()
    {
        $this->executeCallbacks();
        return $this->index->runCount($this->query);
    }