In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a group of people looking at a stack of hay bales'. Count the occurrences of the word 'of' in the given sentence.