*p;main(r,a){for(;read(r=0,p=a,454);printf("%d\n",r))for(;p=strstr(p+1,"* *");)p[21]+=++r;}