Count file types.