Object.count is the number of all instances of this object on the layout.
Object.pickedCount - number of instances picked by event.
So, if you want to check if all sprite instances are on animation frame #4, you can do this:
Sprite animation frame=4
System compare two values (Sprite.count=Sprite.pickedCount) -> Sprite destroy