added counting of 1 char filenames and others