TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a small pizza being cut with a pizza cutter'. Count the occurrences of the word 'pizza' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a nick knack of a dog a coffee cup and a tray of food'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a white cat sitting in front of a synthesizer'. Count the occurrences of the word 'cat' in the given sentence.

SOLUTION:
1