add line counter