I spoke with Oscar about this offline, but I would personally like more an API which is closer to ostrich. You have some global Counter object and you just call ```Counters.increment("my_counter")```.

Since this requires hooking into the flowDef, this could just be a noop if no flowDef is available (e.g. if you call it in the client).