Update reports endpoint to support paging with counts.
Add support for counts on paged queries on node endpoint
Add support for counts for paged queries on resources endpoint