Function: Count

Overview

Calculates count of events with defined value

Description

This function counts the number of events with a specific value. In the function parameters, you can set the field name and the expected value. At the output of the function, we get an object like:
{columnName: , count: }

Function Schema

Examples

To count the number of students in a group named "Group2", set Field Name='group' in the parameters of the function and Field Value= 'Group2'. At the output of the function, we get the result of the function, so the function block must be placed in a separate event processing chain: