Mongolid\Cursor\EmbeddedCursor::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()
    {
        return count($this->items);
    }