How to count the elements in an array created by make_set in KQL?
You can use the array_length() function: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/arraylengthfunction
array_length()