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

Example Input: Sentence: 'a surfer is on the waves with a lighthouse in the background'. Count the occurrences of the word 'the' in the given sentence.
Example Output: 2

Example Input: Sentence: 'a man drinking from a glass standing next to a wine glass'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a woman in red hoodie holding a hotdog in bun'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
2