Add Total Record Count to GET Request Responses
It would be useful to have a total record count in the response when executing GET requests against the Xero Accounting API, especially in those instances where paging is being used.
For example, a GET request for Invoices could return:
The use case for this is if I have an application that wants to display invoices to the user (without data replicating into the app), I'd like to display those in a paginated list. But there's no way for the app to know how many pages of Xero invoices there are without querying all invoices and determining how many pages there are, or doing a call without pagination and getting a count that way (but takes a long time if there's a lot of records).
Seems a bit inefficient. A simple total record count for every GET request would be very useful to do proper pagination outside of Xero.