I referred to your previous post about this but unfortunately it is now closed but also the code is not working. It is returning a 0 even though the input has 3 comma separated items.
Please can anyone help.
Here is the code again:
let items = [];
if (inputData.names) { items = inputData.names.split(","); }
return [{ length: items.length }];