def description_length(user):
    """
        Get the length of user description in words
    :param user: the user object in json tweet
    :return: vector length of 1 indicating the length of description. If user
            if user has no description, [0] will be returned
    """
    des_length=0
    if user['description']:
        description = user['description']
        des_length = len(description.split())
    return des_length