python count how many times a character appears in a string

# Example usage:
your_string = "Example usage"
len(your_string)
--> 13

Here is what the above code is Doing:
1. We create a variable called your_string and set it equal to “Example usage”.
2. We call the len() function on your_string.
3. The len() function returns the length of your_string, which is 13.