add numcounter example