Reference counting is a technique used to determine how many processes are dependent upon an object and when that object may be destroy itself. The first process that requests an object causes the object to create itself and set its counter to one. Each additional request increases the counter, and each additional release decreases the counter. When the counter reaches zero, the object may safely destroy itself.