[spoiler]Thank goodness the coins are identical.
For 0 coins, there is 1 combination: 0-0-0
For 1 coin, there are 3 combinations: 0-0-1, 0-1-0, 1-0-0
For 2 coins, there are 6 combinations: 0-0-2, 0-1-1, 0-2-0, 1-0-1, 1-1-0, 2-0-0
There may be a pattern of adding 1, 2, 3 to the total number of combinations, but I'll working out the case for 3 coins just to confirm this.
For 3 coins, there are 10 distributions: 0-0-3, 0-1-2, 0-2-1, 0-3-0, 1-0-2, 1-1-1, 1-2-0, 2-0-1, 2-1-0, 3-0-0
From the sequence 1, 3, 6, 10, the number of terms seems to be increasing by 2, 3, 4, etc.
0 coins: 1
1 coin: 3
2 coins: 6
3 coins: 10
4 coins: 15
5 coins: 21
6 coins: 28
Yes, the solution is 28.[/spoiler]