Task: Program Execution
Input (English): Sentence: 'a dog and a cat lay on a bed'. Count the number of vowels in the given sentence.
Output (English): 9