correct count for files in dir listings