# initializing string test_str = "Grepper Answer" # using count() to get count # counting e counter = test_str.count('e') >> 3
# using count() to get count # counting e counter = test_str.count('e')
str1.count("a")
a = "some string" print (len(a)) # 11