TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'black and white photograph of a park bench in woods'. Count the occurrences of the word 'white' in the given sentence.

SOLUTION: 1

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

PROBLEM: Sentence: 'a bear standing on top a piece of pipe with a chain attached'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3