TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a person holding up a smart phone in front of a singer'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a red apple sitting on a wooden table with two knifes going through it'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a close up of a child at a table with a cake'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
4