In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'an old stone wall with a large tower on top'. Count the occurrences of the word 'an' in the given sentence.