Driver writes to correct register.
initial implementation of the counter.