If N = (p^a)(q^b)(r^c)..., in which p, q, r, ... are different primes, then the total no. of factors of N, including N itself and 1, is given by
No. of total factors = (a+1)(b+1)(c+1)...
So, to find the total no. of factors of an integer, first factorize it into the lowest form, and then get (a+1)(b+1)(c+1)..., in which a, b, c, ... are the powers of prime factors.