How to repeat questions based on select_multiple

Hi @Xiphware

I would like to ask a question in the repeat group in reference to the answers of the select_multiple.

For example:
select_multiple merchants
begin_repeat // repeat_count=count(count-selected($Q1)-if{$Q1='none',1,0})
decimal // unit price for ${merchants}
end_repeat

I guess this is not working, didnt test it though. Have you any ideas?
Thanks,