TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a plate of food a piece of cake and a cup of coffee are sitting on a wooden table'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a dog catching a frisbee on a baseball field while its owner watches'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a surfer riding on a blue surfboard on top of a small wave'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3