def udivisor_count(n):

    if n == 0:
        return 0
    return 2**len([p for p in factorint(n) if p > 1])
Return the number of unitary divisors of ``n``.
dataset/ETHPy150Open sympy/sympy/sympy/ntheory/factor_.py/udivisor_count