def bytecount_scoredistance(first_data, memento_data):
    """Calculate the distance between byte counts given the content in
    `first_data` and `memento_data`.
    """
    score = None
    if type(first_data) == type(memento_data):
        if type(first_data) == list:
            first_data = ''.join(first_data)
            memento_data = ''.join(memento_data)
    first_bytecount = len(first_data)
    memento_bytecount = len(memento_data)
    if memento_bytecount == 0:
        if first_bytecount == 0:
            score = 0
        else:
            score = memento_bytecount / first_bytecount - 1
    else:
        score = memento_bytecount / first_bytecount - 1
    return score
