Pregunta de entrevista de TiVo

How would one implement reference counted objects?