count files corrected