Question d’entretien chez Bloomberg

Write code to count the number of repeated values in an array