結果 : python code to count characters in a string