Number of Divisors Using Prime Factorization

Question: Given a positive integer n, we have to find the total number of divisors for n.