Using Aggregate for Student or Group #

I am starting an activity with a button that says “Start Activity” and the purpose of it is to capture a unique number to form a well-ordered class into groups. Specifically, I am finding the total of the button.presscount aggregate. The problem is, the aggregate is delayed enough that if two students press the button within <1 min or so of each other it won’t pickup on the aggregate increase in time.

Clearly it’s an unstable build. Has anyone done something similar or have an idea. The bug is bad enough that I might just scrap it altogether.

I’ve been troubleshooting it with multiple windows:

Not sure how it’d fair in an actual classroom setting.