As @holch,
since version 5.x. there is a plugin "statFunctions" implemented.
Read the manual about it
[url]
www.limesurvey.org/manual/StatFunctions
[/url]
Now the easiest implementation of your idea is to use a multiple question with Max. answers set to "1"
With these subquestions
(you see the equation to show the available places, up to you to adapt it to your needs)
and these subquestion relevance equations
you get this
You see, workshop 2 was already chosen 3 times and is not displayed anymore.
Otherwise you may show it, but as not selectable, by changing the "array filter type".
This - using a multiple question - avoids the workaround with an equation that presets a hidden multiple question which is used as array filter of the single question.
Anyway, this procedure is explained many times here in the forum.
This afternoon I will send an example - if the file upload works.
Joffm