Python beginner here—
I wrote a relatively simple code that supposedly goes through an array and checks to see if the count of a number is less than a specified max (and