#Python is for everybody!
#Chapter 6: Strings
#Exercise 4: There is a string method called count that is similar to the function in the previous exercise. Write an invocation that counts the number of times the letter a occurs in "banana:".
word="banana"
index=word.count("a")
print(index)