count file types