This is solved using combinatorics. Any divisor $x$ of $n$ will be of the form
$$x=p_1^{n_1}p_2^{n_2}\cdots p_k^{n_k}$$
where $0\le n_1\le a$, $0\le n_2\le b$, and so on.
The $k$-tuple $(n_1,n_2,\cdots,n_k)$ uniquely specifies a divisor. Thus, the number of divisors will be the number of ways of choosing $n_1,n_2,\cdots,n_k$ given the constraints.
The value of $n_i$ in $x$ is independent of the value of $n_j$ for all $i\ne j$. So, the number of ways of choosing $x$ will be the product of the number of ways of choosing $n_i$ for all $1\le i\le k$.
$$\text{Number of ways}=\Pi_i \text{ (Number of ways of choosing }n_i)$$
Now, $n_1$ can take any value from $0$ to $a$, $n_2$ from $0$ to $b$, and so on. That is, $n_1$ has $(a+1)$ choices, $n_2$ has $(b+1)$ choices, and so on.
Thus,
$$\text{Number of ways}=(a+1)\times(b+1)\times\cdots\times(m+1)$$