With a textpane gadget you can use do list so that the
do counter takes the value of the replacement-text for each of the currently selected rows of the list in turn:
For a selector gadget you must use do selector so that the
do counter takes the displayed value of each of the currently selected rows of the list in turn:
For a textpane gadget you must use do pane so that the
do counter takes the value of each of the displayed lines in turn: