def calculate_real_len(args):
    """
    Calculate the real length of supplied arguments
    :param args: args
    :return: real length
    """
    i = 0
    for arg in args:
        if arg is not None:
            i += 1
    return i