Existing counting models suffer significant performance degradation when tested on data from unknown scenarios (out-of-distribution data), due to the domain shift problem. In practical applications, ...