countNumber(x){ var count; count = 1; read x; println "input is :" ,x ; while (x >= 10) { x = x/10; count = count+1; } println "the count of this Number is :",count; }