Return total items count from pagination + tests
Rationale: frontend frequently needs to know how many items there are in total.
After this MR is merged I'll use it in reports and moderation log pagination.
Rationale: frontend frequently needs to know how many items there are in total.
After this MR is merged I'll use it in reports and moderation log pagination.