Counting the number of all options in a select_one / select_multiple variable

Hi Arif,
The documentation doesn't seem to show how I would count the number of options once I have randomized the choices.