Added a nbLines getter for Text