Add counts to resource list endpoints for better pagination.
Merge pull request #110 from computmaxer/page_counts

Add counts to resource list endpoints for better pagination.
Merge remote-tracking branch 'upstream/master'