public function limit($count, $offset = 0)
    {
        $this->limit = array((int) $count, (int) $offset);

        return $this;
    }
public function limit($count, $offset = 0)
    {
        $this->limit = array((int) $count, (int) $offset);

        return $this;
    }
public function limit ( $ count , $ offset = 0 ) { $ this -> limit = array ( ( int ) $ count , ( int ) $ offset ) ; return $ this ; }
Set a limit on the number of documents returned. An offset from 0 can
also be specified.

@param int $count  The number of documents to return.
@param int $offset The offset from which to return.

@return Query The same instance of this class.
Set a limit on the number of documents returned . An offset from 0 can also be specified .