Most basic counter system is working.

Change-Id: I6a5d5d71e69f165ab4d540f649e86ee12381b28a