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

Input: Consider Input: Sentence: 'a plate of ham and rice and a fork on a red tray'. Count the occurrences of the word 'plate' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'a vehicle applying brakes near a stop sign on a rainy day'. Count the occurrences of the word 'a' in the given sentence.

Output: 3

Input: Consider Input: Sentence: 'a close up of a tennis player with a scary mask on'. Count the occurrences of the word 'a' in the given sentence.
Output: 3