In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'giraffe with front legs spread looking at water'. Count the occurrences of the word 'legs' in the given sentence.

Answer: 1


Question: Sentence: 'a girl is holding a large kite on a grassy field'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


Question: Sentence: 'a woman is walking down a sidewalk and is reaching for something in her pocket'. Count the occurrences of the word 'a' in the given sentence.

Answer:
2