I need to count the number of elements that are between 0 and 255 from a matrix.
I have attached my code but I don't know how to pass the count from the inner loop to the outer loop.
Can you help me with this? If there is a way to do this without loops, even better.
Thank you