ref count examples