welcome @Carolk on the ODK forum. We you get a chance please take some time to introduce yourself here
We have the same need to compare a integer value with the sum of selected value in a select_multiple displayed as an image map. In fact to compare à turtle ID to the code marked on its shell.
Will try to find a way.