S=input(). split ("n") print (len(S)-1)