const vowels = ['a', 'b', 'c', 'e', 'f','g', 'h', 'i', 'j','i']
function countVowels(value){
let count = 0
let letters = Array.from(value)
vowels.forEach(values=>{
if(letters.includes(values)){
count++
}
})
return count
}
console.log(countVowels('biraj'))