You can pick things separately in sub event, your higher level picked objects will stay intact. Do something like this:
variable: count
.. complex stuff picking here
.... pick all stuff
.... pick stuff you want to count
.... set count as stuff.pickedcount
.. do things with before mentioned complex picked stuff