In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a man with a small dog sitting in front of him in a kitchen'. Count the occurrences of the word 'in' in the given sentence.