TiVo Interview Question

How would one implement reference counted objects?