from functools import reduce


def get_num_divisors(factorization):
    """
    Determine the number of different divisors given a factorization.
    """

    powers = list(factorization.values())
    num_divisors = reduce(lambda x, y: x * y, [_p + 1 for _p in powers])
    return num_divisors