How to include the item count in an Artifact or Slack message?

I wanted to include the number of items found in a Slack response, but not the whole list as it’s huge.

How can I include the item count into an Artifact or Slack message as the length() command is only supported in Filter Steps and Automated Decisions.

https://docs.rapid7.com/insightconnect/format-query-language

It isn’t pretty, but you could loop through the array and have the loop output be count? You might need a step in the loop, but you could do a filter and only continue if 1=1 that should be fast