fix #6799: add totalCount of ticks as totalwork and start the progress monitor when this is calculated
fix #6799: add totalCount of ticks as totalwork and start the progress monitor when this is calculated