This is what you want, where 'delta' is the name of the group, and 'heli' is the chopper.
hint "waiting"
@({_x in heli} count units delta == count units delta)
? (not alive leader delta): hint "oops, they're all dead" ; exit
hint format ["all %1 in chopper %2", count units delta, heli]