TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'black and white photo of a person with an umbrella on a dock'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a surfer wearing a green shirt holds his surf board and looks out at the boats in the ocean'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a girl sits in the dark looking at a laptop with a cellphone in her hand'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3