Assuming $0$ is included in $\Bbb {N}$, let $Y_i = X_i +11$,
then the problem transforms to
$Y_1 + Y_2 +Y_3+Y_4 = 74,\;$subject to$\,\; 1\leq{Y_i}<31$
Applying "stars and bars" formula and inclusion-exclusion, we get
(All ways) - (at least one variable breaks upper limit) + (at least two variables break upper limit)
$\binom{74-1}{4-1} - \binom 4 1\binom{74-1-31}{4-1} + \binom 4 2\binom{74-1-62}{4-1}$
= $\binom{73}3 - \binom 4 1 \binom{42}3 + \binom4 2\binom{11}3 = 17266$
Further simplification
I added $11$ rather than $10$ to transform the problem as you wanted, but just realized that it also had the advantage of putting it into a larger class of familiar problems regarding sum obtained from rolling dice.
The problem is to obtain a sum of $74$ rolling a $31$ faced die $4$ times. Now the median value of the sum $= 4*16 = 64$, and the required sum is $74$ which is $10$ above the median, hence by symmetry, will be identical to the number of ways to get $10$ below the median, viz. $54$
The answer is then obtained more simply as $\binom{53}3-\binom4 1\binom{22}3 = 17266$
In this formulation, only one variable can break the upper limit, in some others, you might not need to apply inclusion-exclusion at all !
Transforming a problem into one of a familiar class of problems often leads to new insights !
We can even encapsulate the whole thing in a formula (ignoring the final twist) as
$$W(n,k,D,j)= \sum_{j=0}^{\lfloor{\frac{n-k} D}\rfloor}(-1)^j \binom{k} {j}\binom{n-1-Dj}{k-1}$$
where $W$ = answer, $n$ = desired sum, $k$ = number of throws, $D$ is number of faces on die, and $j$ is the counter