Divisor Count Function from Prime Decomposition

Theorem
Let $n$ be an integer such that $n \ge 2$, with prime decomposition $n = p_1^{k_1} p_2^{k_2} \ldots p_r^{k_r}$.

Let $\tau \left({n}\right)$ be the tau function of $n$.

Then:
 * $\displaystyle \tau \left({n}\right) = \prod_{j \mathop = 1}^r \left({k_j + 1}\right)$