In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'an open appliance door has a white sign reading stop attached to it'. Count the occurrences of the word 'has' in the given sentence.