TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a zebra in the wild walking towards a dirt road'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a man that is cutting a pizza that is on a stove'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a man at a bar tasting wine that is lined out on the bar counter top'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION:
1