Changed defaultdict(int) to Counter()