ES | EN
Engineering

Count the items returned by a node

N8n Training Customer Datastore
Nodes 3
Complexity Intermediate
Category Engineering
n8n popularity 3,203 views in n8n library

This workflow provides a simple approach to counting the items returned by a node. It uses a Set node with the Execute Once option: The expression uses $input.all() (documented here) to fetch all incoming items at once, and .length (documented for example here) to count them.

Apps and nodes included

⚡ Open and edit in Scriflow ← Browse all n8n templates

Scriflow builds and adapts n8n workflows with AI. Open this template in the editor to get the import-ready JSON.