Count

logic · C323 · starter-package 7.0.1

Purpose

Return the number of items in a dense bounded list. This convenience object does not read or transform the individual items.

Connectors

  • Items: dense list with at most 4096 items.
  • Count: number from 0 through 4096.

Example

["a", "b", "c"] returns 3; [] returns 0.

Failure cases

Non-list, sparse, computed, specially modified, or oversized inputs stop execution.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputitems — Itemslistyes
Outputresult — Countnumberon success