In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a giraffe who is surrounded by a link fence is eating leaves from a tree'. Count the occurrences of the word 'is' in the given sentence.