def number_of_digits(a: int) -> int:
    # suggested solution
    """ Find out how many digits a given number has

    Converting an integer to a str makes it iterable,
     the length can than be computed using the len()-function
    """
    return len(str(a))