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

SOLUTION: 1

PROBLEM: Sentence: 'a woman plays frisbee with her dog in the snow'. Count the occurrences of the word 'plays' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a woman holding a child are looking at a cow over a fence'. Count the occurrences of the word 'looking' in the given sentence.

SOLUTION:
1