Small function which counts number of vowels in string