Setup of the problem
Description of the lattice
The problem is stated on a non-negative integer ($ℤ_{\ge 0}$) lattice.
The specification of distance is also a non-negative integer ($ℤ_{\ge 0}$).
The specification of dimensionality is positive integer ($ℤ_{\gt 0}$).
Lattice may considered to be labeled by vectors of non-negative integers ($ℤ_{\ge 0}$) of dimensionality length.
Description of paths involved in the question
A trips will start from the origin, a constant array of $0$s, which is a lattice point in the lattice.
The set of destinations (a set of lattice points) is the set of lattice point whose sum of vector coordinates is distance.
The permissible transitions between lattice points are those which add an integer $1$ to exactly one of the vector components of the current lattice point's label vector.
A path is an ordered set of legal transitions from one lattice point to another.
The problem statement
Starting from the origin and transitioning under the above rules to a destination set, how many distinct paths are there?
The answer should be a formula or method that gives single non-negative integer answer for a given distance and dimensionality.
Remark:
Therefore, there are dimensionality legal transitions from a given lattice point. There is not stated upper limit of the magnitude of the vector components; but, effectively, a matrix of size $(\text{distance}+1)^{\text{dimensionality}}$ ought to be a sufficiently large work area for a computer implementation.