how to count how many items in a list from another object unity code example
Example: unity lists number of
list.IndexOf(thing);
//Replace list with a list
//Replace thing with something
list.IndexOf(thing);
//Replace list with a list
//Replace thing with something