add refcount() & ref() & unref() to hfobject