def METHOD_NAME(line, tokenizer=None):
    """
    Returns a tokenized length of a text line
    """
    if tokenizer is None:
        tokenizer = worker_data["tokenizer"]
    tokens = tokenize_line(line, tokenizer)
    return len(tokens)