This funkiness is stale. It used to be that the counter was hidden in the returned function's closure, but that seems to have been rejiggered. I'll fix it.