def symbols(x: int) -> int:
    """
    Returns length of int in symbols
    :param x:
    :return: int
    """
    if x == 0:
        return 1
    s = 0
    if x < 0:
        s = 1
    while x != 0:
        x = x // 10
        s += 1
    return s