Update LineCounter