Yes. You launch as many processing threads to check for the presence of a mob on the map as you have stacks. In each thread, if the monster doesn't exist, you increment the counter by one, set the task progress to the counter, and break.
Added after 23 hours and 43 minutes
Is it possible to remove the "not visited" inscription at the bottom of interactive objects?
And assign it to other objects that don't have it?