Another correct answer counter question

I think, if there’s a graph component on your screen (there is), Jay’s way might be better than what I’ve been doing.

I’ve done what you’re think about by hiding the “try another” button until they get it correct.
Like:

hidden: not(input1.numericValue=note.script.d and input1.submitted)

Then, the counter is just that button’s pressCount.

Multiple examples here: