TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man in red apron preparing food at a table'. Count the occurrences of the word 'apron' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'close up of a dog walking on a beach near a body of water'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'scenic picture of a city and a harbor on a cloudy day with green trees'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3