function VowelCount(str) { const matches = str.match(/[aeiou]/gi); if (!matches) return 0; return matches.length; }copy
function VowelCount(str) { const matches = str.match(/[aeiou]/gi); if (!matches) return 0; return matches.length; }