Checking Arrays

How do you check the values in an array? I have an array set in data storage and using a simple execute if data storage for the value will return a passed test no matter how many values there are. For example if I have potato in it once and check for potato twice it will still pass, I want to test specifically if it was there once, like check for a specific amount and how much, regardless of order.

Continue to help post