Step-by-step explanation:
I'm not certain but I believe it is 29
From 1 to 2015 the number with the highest digit sum is 1999. 1+9+9+9=28. Also digits can add up to all the numbers between 0 and 28 including 0 and 28, making 29 possible sums.
I don't fully understand the question but that is the best answer I can give from what I think they mean