count line breaks as two chars in char counter (bug 922744)