Help me with the dought

sir / mam please help me for the question given below :
read the text file and display the number of vowels, consonants, uppercase and lower case characters in the file .

Please take input