TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a number of birds in a cage handing from a pole'. Count the occurrences of the word 'handing' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a woman sitting at a table holding a hot dog up to her mouth'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a woman standing next to a baby shower cake'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2