Hitungan vokal

function getCount(str) {
  let vowelsCount = 0;
  let vowels = 'aeiou'
  
  for(let i =0; i<str.length; i++){
    if(vowels.indexOf(str[i])>-1){
      vowelsCount++
    }
    
  }
  
  // enter your magic here
  
  return vowelsCount;
ABS