mate getLineCount will return say 5 for 5 lines if...
# suitescript
n
mate getLineCount will return say 5 for 5 lines if you add one to it you're trying to get a line that doesn't exist