using C=System.Console; using System.Linq; class P{static void Main(){C.Write(C.In.ReadToEnd().Count(x=>x=='*'));}}