TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a black and white photo of an airplane being loaded'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a young boy in a green baseball uniform holding a baseball bat'. Count the occurrences of the word 'baseball' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a woman sitting in a tub in a white bathroom'. Count the occurrences of the word 'in' in the given sentence.

SOLUTION:
2