@a = 1 0 1 @b = 1 0 0 @c = 1 0 0 # unnecessary as array , just the final count of 1's in array @c