Get characters count in SMSG_ENUM_CHARACTERS.

Signed-off-by: Y.Moon <chglove@live.cn>