TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'three blue suitcases stacked on top of each other and three smaller bags on top of each other in a corner'. Count the occurrences of the word 'smaller' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man riding a skateboard on a bench near some trees'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a colorful photo of a bike against a fence with mountains in the back'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3