state total metric

The default label should probably depend on the state name in some way? Otherwise calling this on multiple states will result in the same metric being incremented multiple times?