In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a person walking in a garden with a bench'. Count the occurrences of the word 'in' in the given sentence.