Add check length method in JapaneseCharacter class.