Hi,
Maybe it can be done easier depending on your project.
Is your list a premade list or are you adding gameobjects to that list during runtime?
if premade and nothing wil be added/removed during runtime you do not need to use array list count.
Do the gameobjects need to stay in that list after activating/deactivating?
if it needs to stay maybe you can better do it like this :
get a "random int", then use "array list get next" and get the index variable,
next step use an "int compare" and compare the random int and the index variable,
if it is equal enable if its not disable and then loop back to array list get next
if you want to enable more than one you can set it up like this :
Make sure to enable "Action Sequence mode" (right click in a state and select it)