CharCountMethod implemented successfully.