2962. Count Subarrays Where Max Element Appears Atleast K TimesCount Subarrays Where Max Element Appears Atleast K Times