program to count the total number of occurrences of a given character in a string ?

Write a Python program to count the total number of occurrences of a given character in a string ?
Hello How
o
Total : 0 Discussion
Login