add len method and support cc_message(md_name_format 2~4)

Signed-off-by: TAKAHASHI Minoru <takahashi.minoru7@gmail.com>