Now correctly counting files
added sleep, because one haz to chill