In this task, you need to count the occurrences of the given word in the given sentence.

Example Input: Sentence: 'a sign pointing towards a mcdonalds is posted on a traffic light pole'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a pile of trash in a trash can'. Count the occurrences of the word 'of' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a white cat sitting in front of a synthesizer'. Count the occurrences of the word 'cat' in the given sentence.
Example Output:
1