$3$ dice are rolled. In how many of the possible $6^3$ outcomes is the sum of the points $12$?
Attempt: I would like to solve this problem using stars and bars. I arrived at the equation $x+y+z=12$. And to ensure that none of them have a value of zero, I feared $a=x+1$, $b=y+1$, and $c=z+1$. So we will have $a+b+c=9$. I thought of the following reasoning: "How many 3-digit numbers can be formed so that the sum of their digits equals 9?"
But I don't understand how to solve it, or if even reasoning would help to solve this problem by this method. The problem's answer is $25$.