Locking MC items after a set amount

Is it possible to lock multiple choice items after a set amount of students have chosen it?
I would like to use Desmos as a vehicle to split students into groups for a modeling task, but I can only allow so many for each group.