Implement simple reference count for projection objects so we only free objects we've created.