Example 5.4. count_characters

    输出: