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 table with a tin of hotdogs and a plate with bun'. Count the occurrences of the word 'with' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a group of people in a field flying kites on a clear day'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3