Task: Program Execution
Input (English): 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.
Output (English): 4