In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'the glass windows in a pair of sliding doors is fogged up'. Count the occurrences of the word 'of' in the given sentence.