Question d’entretien chez Meta

A problem to count the numbers in the array