update nbLine count methods to handle the first line and remove useless
data from the test.