How to get array length?

I created a json array like bellow:

clients_results (JSON ARRAY)
clients_results.name
clients_results.phone

I have a field “total_clients” that i want to get the size of array clients_results.
How can i do this?

I know this is an old question, but I just had to do this myself, so I’m posting the solution here for anyone else who stumbles onto this.

Add total_clients as a Formula and set it to: clients_results.length

1 Like