Adding delta state support to the counter

Before we were replicating the entirety of the state
Merge pull request #2 from pspeter3/delta-state

Adding delta state support to the counter