TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a metal counter in a kitchen with a sink'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

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 man riding a water ski while being towed by a boat'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3