@export
@lru_cache(maxsize=1024)
def token_count(value: str, delimiter: str=' ') -> int:
    "\n    Return count of delimiter-separated tokens pd.Series column.\n\n    Parameters\n    ----------\n    value : str\n        Data to process\n    delimiter : str, optional\n        Delimiter used to split the column string.\n        (the default is ' ')\n\n    Returns\n    -------\n    int\n        count of tokens\n\n    "
    return len(value.split(delimiter))
Return count of delimiter-separated tokens pd.Series column.

Parameters
----------
value : str
    Data to process
delimiter : str, optional
    Delimiter used to split the column string.
    (the default is ' ')

Returns
-------
int
    count of tokens
@export
@lru_cache(maxsize=1024)
def token_count(value: str, delimiter: str=' ') -> int:
    "\n    Return count of delimiter-separated tokens pd.Series column.\n\n    Parameters\n    ----------\n    value : str\n        Data to process\n    delimiter : str, optional\n        Delimiter used to split the column string.\n        (the default is ' ')\n\n    Returns\n    -------\n    int\n        count of tokens\n\n    "
    return len(value.split(delimiter))