I think it’s definitely fair to say that there is probably an even better way. I could imagine utilizing a shared tool across the AI nodes, a series of variables that can be incremented upon, etc. All potentially better approaches, but I wanted to show one option here.
There are some other approaches that community members have used with other AI nodes. You could potentially get inspiration from those?