Moved ReferenceCounter form Rendering/ to Core/