Count of the selected items from custom droplist

Hi,
Can you please help me with a custom multi droplist which displays the count of the selected items.
Like: if the multi-select box has USA,CANADA & MEXICO as its values on selection of USA & CANADA it needs to show 2 selected & when any one of them is selected it should display 1 selected.

Thank you in advance.
Paulomi.

This isn’t EXACTLY what you’re looking for but the concept is sound… when it comes to the multi-select item count of a repeater.

I kept the project simple to make it easier to trek through and reverse engineer.

repeater.rp (55.0 KB)