Pagination using XML Views Backend
Searching for pager in the issue queue of Views XML Backend shows that the plugin can output the info you want.

You should be able to add to the Header region of the view a Global Results Counter which shows text like "Viewing X of N to M records". All of this is done in the Views Administration UI for your View.

You could then call the page via curl or via views_embed_view using php programatically to pass and or set the page number and records per page as needed to get the results you want.