Minimalistic numLines getter for TextField