counting vowels returns 1 if input is 'a'