Frage im Vorstellungsgespräch bei Limeade

Write a function to find the max count in a sorted array.