結果 : how to count digits in a string python