Add a reset line to counter; halt counting if preset is 0