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

Example Input: Sentence: 'a dingy yellow tiled bathroom is shown in dim light'. Count the occurrences of the word 'dim' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a flat screen tv sitting in the corner of a living room next to a pumpkin'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a number of kites flying in the sky above a beach'. Count the occurrences of the word 'a' in the given sentence.
Example Output:
2