import sequtils,strutils var S = stdin.readline echo S.count('n')