import os i=os.read(0,1e5) s=0 for c in i: if(c=='*'): s=s+1 print s