In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a black dog laying on a pile of shoes on the floor'. Count the occurrences of the word 'on' in the given sentence.