結果 : check how many characters in a string python