Board Thread:Support Requests - Getting Technical/@comment-26296427-20151201022601/@comment-1757994-20151202135715

The only way to get the total number of pages is to get them all and count them, which would be useless for a progress bar.

Usually what I do if I'm processing a lot of pages is just display the last continuation value. The APIs tend to return lists of pages 1 of 2 ways: by alphabetical title order or by numerical revision/page ID order. allpages returns them alphabetically by title, I believe.

In your case, alphabetically is a little odd, since all the subpage names are numbers, so it'll go -1, -10, -100, -11, etc.