Return the most frequent number in an array