In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a young girl getting her hair brushed an an older girl'. Count the occurrences of the word 'getting' in the given sentence.