codechef; solve "Count of Maximum"