lib/counter: add some docunits