In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a bedroom is shown with a rug on the floor'. Count the occurrences of the word 'on' in the given sentence.