async-alloc-counter measures max allocations in a future invocation

see examples/ for usage