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 group of kites flying in a blue cloudy sky'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a cake with chocolate frosting and a cake with white frosting are each in an open box'. Count the occurrences of the word 'frosting' in the given sentence.

SOLUTION:
2