Task: Program Execution
Input (English): Sentence: 'person on the back of a horse on a snow field with snow on trees'. Count the occurrences of the word 'on' in the given sentence.
Output (English): 3