結果 : how to count number of digits in a string python