be sure to count the directories in the total progress