Mongoose helper for paginate a query