def get_number_digits(number: int) -> int:
    """Gets the number of digits in a number.

    Parameters
    ----------
    number : int
        The number.

    Returns
    -------
    int
        The number of digits.
    """
    return len(str(number))