TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a small bird on a tree branch with a fruit'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a long counter in a shop with several bike tires hanging from the ceiling'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a blue plate with broccoli cauliflower and carrots with spoon'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION:
2