print current counter value