Scrape Target Count

Scrape targets count to "variable" see here. You can use it get the targets count and save the count to a variable, then you can use this variable to make a loop, for example, here's some buttons on page, and the count of the buttons are not fixed, you can use this action to get the buttons count, then use counter template of runcode to make a loop to click each button.

Target XPath

You need select targets manually with buttons "select targets" and "group select", see here.

Data

The name of variable to hold the "targets count".