Hi
Perhaps try a counter, something like this:
Constant: mktcount, value 0
Constant: wincount, value 0
TRIGGER market count
set user variable, name: mktcount, value: mktcount+1, globally
first matching selection
once per market
status: settled
no conditions
TRIGGER win count
set user variable, name: wincount, value: wincount+1, globally
first matching selection
once per market
status: settled
Conditions:
trigger <market count> number of runs is greater than 0
and selections trigger expression last_won is greater than 0