for(t=0;d=readline();)t+=d.match(/\*/g).length;print(t)