Task: Program Execution
Input (English): Sentence: 'a woman laying in a bed with messy hair'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2