TScopeCounter

Commonly used to make sure a value is incremented, and then decremented anyway the function can terminate.