Ruby - Hashes
Given an array
words = ['cat', 'dog', 'cat', 'bird'], which Ruby code snippet correctly uses a hash with a default value to count the frequency of each word?