I had one textarea and i am showing remaining characters for it and applied maxlength attribute with value 140.
<textarea class="tooltip valid" cols="20" data-bind="value:Profile.AboutText,
valueUpdate:['afterkeydown','propertychange','input'],event: {keyup: OnStartEditing}" data-
val="true" data-val-length="Introduction must be lessr than 140 characters." data-val-
length-max="140" id="AboutText" name="AboutText" maxlength="140" >1234567890 1234567890
1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
1234567890 1234567</textarea>
now i had added 117(1 to 0 num) + number of enter key(11) = 128 . though it not allowed to enter my remaining 12 character. had a lot RND for it but didn't get nay solution . Help me badly stuck in this issue. Thank you.