What is the difference between dict and defaultdict?
Explain the difference through a practical frequency-counting function. Implement count_items(items), which accepts a list of strings and returns a regular dictionary mapping each distinct string to its count. Your implementation should demonstrate why defaultdict(int) can simplify counting compared with a standard dict.
def count_items(items):