changed max of count across years to the mean of count across years