TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a woman with a walker is sitting on a park bench'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a person showing a selfie of themself to the camera'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

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