Move the total-files counter to be more accurate