fixed line number counting