Task: Program Execution
Input (English): Sentence: 'giraffe with front legs spread looking at water'. Count the occurrences of the word 'legs' in the given sentence.
Output (English): 1