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

Example Input: Sentence: 'side review mirror shows dog hanging its head out the window'. Count the occurrences of the word 'the' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a woman is petting a small horse in a field'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a red and blue kite flies above a lone man on a beach'. Count the occurrences of the word 'blue' in the given sentence.
Example Output:
1