print out counter