Make ref-object GetReferenceCount as const