In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a brown dog is lying on a brown chair'. Count the occurrences of the word 'lying' in the given sentence.