adding line counter to log-watcher