Implemented get all items count for subjects request.

Implemented get all items count for subjects request(added paginator to
table gateway). corrected data.