def digits(number: int) -> int:
    """Counts number of digits.

    Args:
        number (int): given input number

    Examples:
        >>> assert digits(66) == 2
    """
    return len(str(number))