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

Example Input: Sentence: 'a room with a blue rug and various appliances on a dresser'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a white plate sitting next to a cup of liquid on top of a table'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'the tower of a tail building with a flag on the roof and a clock on the upper floor'. Count the occurrences of the word 'the' in the given sentence.
Example Output:
3