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

Example Input: Sentence: 'a view of a sandwich with a side salad'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a home computer setup with two laptops on a desk'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 2

Example Input: Sentence: 'there is a water fountain in the park with water in it'. Count the occurrences of the word 'water' in the given sentence.
Example Output:
2