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

Example Input: Sentence: 'a man with a neck tie is wearing a motorcycle helmet'. Count the occurrences of the word 'wearing' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a man and a dog standing on a dirt path in the woods'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a red traffic light at a snowy corner with christmas lights in the distance'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
2