counter works between shutdowns of server