Exposes total items

Exposes the totalItems in the response, it's something that should be present in the system by default.
Actually, that is an accident, I was doing something else, going with emiting events on some actions like changing pages, creation and so on.

I will revert it back.