Added counter to DAC