Counting figures without deletion

Good afternoon When you click on the button, a random shape is created from a group of shapes. Now there are 2 different figures in the group. The problem is that when colliding with an object, the counter counts only the very first shape and makes it inactive. And the next created figures from the group no longer increase the counter and the activity is not disabled. If I set the action DELETE FIGURE (as in Picture 3) then everything works fine. But I want the figures to stay on the stage. How to fix it?

In one of the examples I saw how this is done. I fixed this with the PickedInstancesCount(Figuresgroup) action and did it with a platform variable. And before I just changed the text variable