Now we have a kind of trigger, see examples of use. instant_resource_count disregards locks
Can you think in a better way?