Merge pull request #811 from rustyswayne/1.4.0-lists

Internally exposed count methods on paging services
Refactors InvoiceApiController to use new query methods