Quantiphi's text-processing workflows often need simple character-level statistics before applying later transformations. Write a function that counts the number of English vowels in a given text string.
Treat a, e, i, o, and u as vowels, regardless of case. Do not count y as a vowel. Spaces, punctuation, digits, and other characters should be ignored.
Implement count_vowels(text).
text, a string containing zero or more characters.text.def count_vowels(text):