結果 : count no of digits in a number javascript