TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'black and white photograph of a park bench in woods'. Count the occurrences of the word 'white' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'the man with many graphic novels on a display table is on a cell phone'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a photo of a man wearing glasses holding a plate of cake'. Count the occurrences of the word 'man' in the given sentence.

SOLUTION:
1