Mongolid\Cursor\Cursor::count PHP Method

count() public method

Counts the number of results for this cursor.
public count ( ) : integer
return integer The number of documents returned by this cursor's query.
    public function count() : int
    {
        return $this->collection->count(...$this->params);
    }