get total line count method added