Char count:
Sample code
"function onkeyup(event){"
"out.value=inp.textLength"
"}"