In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a brown bear on rocks with cloudy sky in background'. Count the occurrences of the word 'with' in the given sentence.