a=input() cnt=0 b=True for i in range(len(a)): if a[i]=='…': cnt+=1 else: print(cnt) b=False break if b==True: print(cnt)