In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'two lounge chairs beneath an umbrella on the sand at the beach'. Count the occurrences of the word 'an' in the given sentence.