Setting an existing counter

Counters are just stored as ASCII strings, so you just need to set it to the string encoded equivalent of the number you’d like it to be set to.

Are you using 1.3 or 2.0? I can point you to a more specific method.