Need help when items are collected its not getting the win condition

As above then. You can skip the Get All + Loop part if you only spawn dynamically. So something close to:

Essentially, we add when spawning, and count down when stuff gets destroyed.