add reference count to topX