In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a man prepares to get his hair cut at a hair studio'. Count the occurrences of the word 'hair' in the given sentence.