us#32384 create countMedian, countPercentageMaxSame