I came across a situation where there is a need to maintain a count of how many times an object is allocated or copied. [similar to ref count logic
allocated
copied