def token_list_len(tokenlist):
 ZeroWidthEscape = Token.ZeroWidthEscape
 return sum((len(item[1]) for item in tokenlist if (item[0] != ZeroWidthEscape)))

def token_list_len ( tokenlist ) : ZeroWidthEscape = Token . ZeroWidthEscape return sum ( ( len ( item [ 1 ] ) for item in tokenlist if ( item [ 0 ] != ZeroWidthEscape ) ) )
return the amount of characters in this token list .