In this session, we are going to write a program to count number of vowels in the string using count method, using dictionary object and also using dictionary comprehension methods. count method has been used in dictionary as well as dictionary comprehension.