In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a man with a long grey beard in a white shirt and green tie at a pub full of greenshirted patrons'. Count the occurrences of the word 'a' in the given sentence.