reference count buffer