In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a red and white stop sign and a black and white sign and a building'. Count the occurrences of the word 'and' in the given sentence.