input: Write a function to count the occurrences of each word in a list using the Counter from collections.
  assert count_words(['apple', 'apple', 'banana', 'apple', 'orange', 'banana', 'pear', 'orange', 'orange']) == {'apple': 3, 'banana': 2, 'orange': 3, 'pear': 1}
  assert count_words(['cat', 'dog', 'cat', 'bird', 'dog', 'cat']) == {'cat': 3, 'dog': 2, 'bird': 1}
  assert count_words(['one', 'two', 'three', 'one', 'two', 'one']) == {'one': 3, 'two': 2, 'three': 1}
output: from collections import Counter
  
  def count_words(words):
      return dict(Counter(words))