Switch COUNTER to DERIVE to avoir spikes when mysql resets.