In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'black and white image of people standing in front of a painted advertisement'. Count the occurrences of the word 'of' in the given sentence.