How to Get the Last Value and remove the Similar Values

You can run JavaScript for free using my free private module, which can be installed here Is there a way to count tokens?

Here is an example: Remove empty keys/variables from data - #8 by samliew