Moved the dir_count increment into an even better spot and make sure that