Got a working counter.