TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'blue flowers with green stems next to white flowers in a vase'. Count the occurrences of the word 'flowers' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a table with a tin of hotdogs and a plate with bun'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a group of people flying a kite on a beach'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3