Added lines count for the textbox.