Character count for input

Issue #25 new
created an issue

When the div with class editable is clicked, it is changed into an input field. How can we assign a data-length attribute on this input field to show a character counter? I could not find any way to do this.