In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a dingy yellow tiled bathroom is shown in dim light'. Count the occurrences of the word 'dim' in the given sentence.

Answer: 1

Question: Sentence: 'a black train is on a train track near some foothills'. Count the occurrences of the word 'a' in the given sentence.

Answer: 2

Question: Sentence: 'five separate cakes made into a train birthday cake'. Count the occurrences of the word 'five' in the given sentence.

Answer:
1