Compute and cache queryset count in Paginator resource

This prevents the count from being recomputed on each request. Note that
this is fragile for OLTP-type systems since the data could change in
between requests.

Signed-off-by: Byron Ruth <b@devel.io>