TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a table set with plates and a cat'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'there is a pizza with onions mushrooms and peppers'. Count the occurrences of the word 'mushrooms' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a red stop sign next to a street with a red car driving over it'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3