import math


def get_divisors_count(n: int):
    """Get the count of divisors of `n`"""
    divisors = set()
    for i in range(1, int(math.sqrt(n)) + 1):
        if n % i == 0:
            divisors.add(i)
            divisors.add(n // i)
    return len(divisors)