# coding:utf-8 #JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 a=input() b=0 for i in a: if ord(i)>=0x4E00 and ord(i)<=0x9FA5: b=b+1 print(b)