A simple class to count the number of vowels in a given string.