In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a black bird sitting on a wall next to grass'. Count the occurrences of the word 'next' in the given sentence.