In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a dog stands beneath a table as a woman has coffee at the table'. Count the occurrences of the word 'has' in the given sentence.