Add "counters" metadata

This branch begins to address https://github.com/rspeer/dominiate/issues/83