TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man dives to his right to make a forehand tennis shot'. Count the occurrences of the word 'to' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a bed room with a large window and a neatly made bed'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a couple stands outdoors in front of a pagoda'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2