Getting count working
Cleaned pagination. Total count is correct and added number of pages as requested in #57.

This branch also includes the ability to specify fields returned.