In this task, you need to count the occurrences of the given word in the given sentence.
--------
Question: Sentence: 'a cat with a pensive look guarding its plate by a computer'. Count the occurrences of the word 'a' in the given sentence.

Answer: 3


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 woman posing on a city street near an intersection'. Count the occurrences of the word 'street' in the given sentence.

Answer:
1