def avegsenlen(data):
    """
    Args: 
        list of strings
    Output:
        average length of strings (#words) in list
    """
    data = [x.split() for x in data]
    t = 0
    t = sum([len(x) for x in data])
    t = t/float(len(data))
    return t