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

Example Input: Sentence: 'a brown bear walks through the shade of many trees'. Count the occurrences of the word 'bear' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a white and gray cat is in a bathroom sink'. Count the occurrences of the word 'white' in the given sentence.
Example Output: 1

Example Input: Sentence: 'an older man dressed in a military outfit complete with a black beret and sitting on top of an old military motorcycle'. Count the occurrences of the word 'older' in the given sentence.
Example Output:
1