Fix line numbers counter.