count

Basic data handling: DataListCount

Counts the number of occurrences of a value in a list. This node takes a list and a value as inputs, then returns the number of times the value appears in the list.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
list*required
value*required

Outputs (1)

NameType
countINT