Write a TypeScript function to count the number of vowels in a string.
EasyProblem Statement
Write a TypeScript function to count the number of vowels in a string.
Sample Input
"hello world"
Sample Output
Number of vowels: 3
Limits
Time: 2s · Memory: 256 MB