Add support for requesting 'total record count' when issuing paged queries

These commits add support for requesting the "total record count" for any paged query, as well as end-user documentation about the new query parameter.