結果 : python method to count number of characters in a string