Task: Program Execution
Input (English): Sentence: 'a cow scratches her head with a back leg'. Count the occurrences of the word 'leg' in the given sentence.
Output (English): 1