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

Example Input: Sentence: 'a white cat sitting on a bed next to a night stand'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a chair in a corner next to a lampwith pictures behind it on a wall'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 4

Example Input: Sentence: 'a kitchen with two sinks with a dish rack in one and dirty dishes in another'. Count the occurrences of the word 'with' in the given sentence.
Example Output:
2