結果 : count characters in input javascript