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

Input: Consider Input: Sentence: 'train cars lined up under a bridge full of traffic'. Count the occurrences of the word 'under' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'a woman plays frisbee with her dog in the snow'. Count the occurrences of the word 'plays' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'a person walking past a bunch of red neck ties'. Count the occurrences of the word 'a' in the given sentence.
Output: 2