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.
Edited by Maxim Filippov
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.