pub fn paginate(q: &ListQuery) -> (usize, usize)
Clamped (limit, offset) from a ListQuery.
(limit, offset)
ListQuery