In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a yellow sign warns of a plank surface in front of a large gray building'. Count the occurrences of the word 'yellow' in the given sentence.