Fixed obi-wan error in getLineCount().