COUNT number of results

I just want to return the number of populated websites, so in the screenshot below the answer would be 1.

I thought {{length(26.website)}} should work but it returns 3 every time regardless.

Any tips? :slight_smile:

Welcome to the Make community!

You can use the built-in function remove

e.g.:

{{ length(remove(1.array; null; undefined; emptystring)) }}

For more information, see the function documentation in the Help Center and do the tutorials in the Make Academy.

Alternatively, you can also add a FILTER before the Array Aggregator module to prevent empty URLs from reaching the aggregator.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too β€”

Getting Started

Help Centre Basics

Articles & Videos

Hope this helps! Let me know if there are any further questions or issues.

β€” @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Thanks for the quick reply! Both just return 3 for me. I tried the filter:

And replace:

Both returned 3 when should be 1,

What am I doing wrong?

Thanks :slight_smile:

Sorry, it should be the remove function.

Check it out:

{{ length(remove(26.website; null; undefined; emptystring)) }}

Screenshot_2025-02-24_110235

Hope this helps! Let me know if there are any further questions or issues.

β€” @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

2 Likes