Currently the MassIndexerProgressMonitor API acceps a long for the estimate of total documents to be built, but uses int to track current progress.
This needs to be fixed, unfortunately it would break APIs so needs a bit of caution.