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

Example Input: Sentence: 'the soldier on horseback statue stands guard over the citys residences and buildings'. Count the occurrences of the word 'the' in the given sentence.
Example Output: 2

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 small kitchen with a stove and counters'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
2