Add action and condition for counting list items

Issue information

From user: mxh

Related to !161 (merged)

Contribution record

Fork management

Problem/Motivation

We need to determine the number of items in a list.

Steps to reproduce

Proposed resolution

For counting, we could implement an action that counts items on a specified Token and sets the count result into another token. For convenience, we could additionally implement a condition "number of items" extending from StringComparisonBase. That count action would only address "real" lists as we already have "Compare two scalar values" that may directly count a string length.

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information