reply = input( 'enter some text: ' ) number_of_characters = len( reply ) words = reply.split() number_of_words = len( words ) number_of_as = reply.count( 'a' ) #cant have spaces for count print( number_of_characters, number_of_words, number_of_as )