input: Write a function to count the occurrences of each word in a list using dictionary comprehension.
  assert count_word_occurrences(['hello', 'world', 'hello', 'world', 'this', 'is', 'a', 'test']) == {'hello': 2, 'world': 2, 'this': 1, 'is': 1, 'a': 1, 'test': 1}
  assert count_word_occurrences(['apple', 'banana', 'apple', 'orange']) == {'apple': 2, 'banana': 1, 'orange': 1}
  assert count_word_occurrences(['one', 'two', 'three', 'two', 'three', 'three']) == {'one': 1, 'two': 2, 'three': 3}
output: def count_word_occurrences(word_list):
      return {word: word_list.count(word) for word in set(word_list)}