Definition of counter:
an object (now especially a small disc) used in counting or keeping count, or as a marker in games, etc; any stone
lying closer to the center than any of the opponent's stones
"he rolled a six on the dice, so moved his counter forward six spaces."
"Running counter to all the rules of virtue." -Locks.
"his carrying a knife was counter to my plan."