Group the numbers 1 to n by the sum of their digits and return how many groups are tied for the largest size.