Number of pages: ceil(total / pageSize).
ceil(total / pageSize)
Rows the query matches across all pages.
Number of pages:
ceil(total / pageSize).