Currently the progress/remaining time was only updated once per batch as
the count or pending files was only updated once per batch. Use the
ExtractorProcess::finishedIndexingFile signal to count indexed files.
This also allows to get rid of the recurrent DB access to get the count
of remaining files.
Depends on D28258