Write a function to count vowels and consonants of a string and return an object?
Login to Submit
Input: "math" Output: {"vowels": 1, "consonants": 3}