Changes #count to #total for pagination on a resource

Total refers to the total number of records that will be paginated,
while count is the current number of records held by the object for
pagination.

Signed-off-by: Tyler Smalley <tylersmalley@me.com>
Fixes header link formatting

There was a trailing "} on the uri

Signed-off-by: Tyler Smalley <tylersmalley@me.com>
Fixes issue with header links when referencing the first page

Signed-off-by: Tyler Smalley <tylersmalley@me.com>