I want to count members of an array, example:
myArray = [1, 1, 2, 1, 3, 3, 1]
I want to count all members of the array that is '1' and store it as another variable.
Thanks for the help
myArray = [1, 1, 2, 1, 3, 3, 1]
I want to count all members of the array that is '1' and store it as another variable.
Thanks for the help