https://kodejava.org/how-do-i-count-the-occurrences-of-a-number-in-an-array/
How do I count the occurrences of a number in an array?