Aggregate action button presscounts

Hello I’m new to desmos and was wondering how I could collect the total number of times that students press a button into one graph or table so I could see which one they picked the most.

Do you want the total number of times each button is pressed (including multiple presses by individual students)? Or do you just want to know the number of students that press each button?

In a graph CL (hidden if necessary)

numberList(`B_1`): aggregate(button1.pressCount)
numberList(`B_2`): aggregate(button2.pressCount)
...

In the graph:
For number of button presses

b_1=total(B_1)
b_2=total(B_2)
...

For number of students:

b_1=total({B_1>0:1,0})
b_2=total({B_2>0:1,0})
...
1 Like