# **Exercise 4: There is a string method called count
# that is similar to the function in the previous exercise. Read the documentation of this method at:

s = 'banana'
print(s.count('b'))
print(s.count('a'))
print(s.count('n'))

