static int count(String word) { final vowels = RegExp(r'[اویے]'); return vowels.allMatches(word).length; }