V0.9.8: add ValueCounter and tests.
Allow for initialisation of a value's counter as 0.
Tiny fixes.