import { getWriteableCounter } from "https://deno.land/x/automerge@2.2.0/counter.ts";
Returns an instance of WriteableCounter
for use in a change callback.
context
is the proxy context that keeps track of the mutations.
objectId
is the ID of the object containing the counter, and key
is
the property name (key in map, or index in list) where the counter is
located.