i have a struct who have a list of item and some other variable about struct
i want to check that a enum in list have a specific value or not.
like
struct.list.havevalue == 5;
how i can count all who have the specific value in enum in the itemlist of the structure