結果 : program to count digits in a number python