Use a proper variable to track the number of files that matched.