Count number of times a name is in a array of objects
I 'm trying to understand how to work with the formula editor , have some problems to convert from "normal " Javascript to the formula editor . If i have a list of names in an array of object like this : [ { name : "John " } , { name : "Jane " } , { name : "John " } , { name : "Doe " } , { name : "Jane " } , { name : "Doe " } ] ; How can i convert that to this in Toddle : [ { name : 'John ' , count : 2 } , { name : 'Jane ' , count : 2 } , { name : 'Doe ' , count : 2 } ] I guess it 's reduce and map , but how 😉 You can also use Group by


.jpeg/public)