In this task, you need to count the occurrences of the given word in the given sentence.
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.