count number of created files correctly