結果 : how to count no of digits in python