In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'an image of a cake with people with skiis on it'. Count the occurrences of the word 'with' in the given sentence.