結果 : how to count digits in string python