TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'there is a man who is playing a game of tennis'. Count the occurrences of the word 'is' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a young boy at a picnic table is holding half a donut'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'this outside the capitol building where people are flying kites'. Count the occurrences of the word 'this' in the given sentence.

SOLUTION:
1