def set_column_text_len(dat, col_name):
    """
    Get number of words in selected columns for each record
    """
    dat['{}TokensLength'.format(col_name)] = dat[col_name].str.split(" ").str.len()
    return dat