In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a child with a half eaten doughnut in their hand'. Count the occurrences of the word 'with' in the given sentence.