a line counter tool