Adds pagination metadata to the collection

closes #13