Fixed incorrect file count