Probá con esto (este permite 125 caracteres):
Código HTML:
<script language="JavaScript" type="text/javascript">
function cuenta (campo, cuentacampo, limite) {
if (campo.value.length > limite) campo.value = campo.value.substring(0, limite);
else cuentacampo.value = limite - campo.value.length;
}
</script>
Y el formulario con el textarea:
Código HTML:
<form name="form1">
<textarea name="mensaje" wrap=physical cols="15" rows="5" onKeyDown="cuenta(this.form.mensaje,this.form.remLen,125);" onKeyUp="cuenta(this.form.mensaje,this.form.remLen,125);"></textarea>
<input type="text" name="remLen" size="3" maxlength="3" value="125" readonly>Caracteres restantes:
</form>