pub fn domain_get_refcount(domain: Domain) -> Result<i32>
Query the current reference count for a domain.
Returns a negative error code if domain is invalid.
domain