To count items in a data store based on a condition (ex: Field = "some value"), a Fusion user has to setup a structure similar to the above:
- Initialize a counter to 0
- Search the whole data store based on the condition
- Get counter references
- Increment the counter by one each time
This is required because the Count records data store module does not allow for conditions.
The ask is to enable conditions on the Count records module. Even if you internally have to do it via a looping mechanism like this, it greatly simplifies the life of the Fusion user and makes it an inline module rather than having to do the above PLUS the required router (ahead of the above flow) and another branch off that with a Get Variable module to get the result of the count.