Count Repeated Numbers In Array Jquery W3schools