corrected and created a shorter version of counting vowels