Visual counting, a task that aims to estimate the number of objects from an image/video, is open-set problem by nature as population can vary in $$[0,+\infty )$$ theory. However, collected data are limited reality, which means only closed set observed. Existing methods typically model this through regression, while they prone suffer unseen scenes with counts out scope set. In fact, counting has...