counts of size 46 to zero.lowLimit to highLimit:
a. Initialize sum to 0.
b. While the current ball number is greater than 0:
i. Add the last digit of the current ball number to sum.
ii. Divide the current ball number by 10.
c. Increment the value at index sum in the counts array.counts array.