Hi - Unfortunately InfoPath doesn't do this out of the box. You can write code for this, or qRules could also do this for you (although I've had some issues with multi-selects and rules in the past, so you may need to experiment a bit with this).
I guess if you have an idea of the max number of selections, you could include that many by default and just hide anything greater than the count of selected items....