TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a person flying a kite on a busy city street'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a bear standing on top a piece of pipe with a chain attached'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a skier is standing in a valley overlooking mountains under puffy grey clouds'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2