結果 : calculate number of characters in string python