Count Number of Tag Fields

Random but is there anyway to count the number or tags / fields any given track has. Just curious. In my case I'd just like to know if I could use that metric to immediately tell which tracks may be missing some tags I'd normally add & which tracks are data rich. Some files I have contain a heap of extra but informative tags

One possible solution is creating a string of all tag fields using $list() with a specific field prefix (here: the 3-character long ===) and the same strings without the prefix.

The character difference can tell the number of fields:

$div($sub($len($list(===,,)),$len($list(,,))),3)

With the above calculation you could add a new column in your File List like this:

Then you can sort your tracks in ascending or descending order by this column to see which one deviates.


For those interested in the calculation:

If the command $list(===,,) would show
===GENRERock===YEAR2025===Barcode6d6574616c677572752e6d65===TITLEBlack Mamba===ALBUMThe Revenge of Alice Cooper===TRACK01===ARTISTAlice Cooper

then $len (length of the string) would show 142

If the command $list(,,) - without additional prefix characters - would show
GENRERockYEAR2025Barcode6d6574616c677572752e6d65TITLEBlack MambaALBUMThe Revenge of Alice CooperTRACK01ARTISTAlice Cooper

then $len would show 121

$sub(142,121) - subtraction - would show 21

$div(21,3) - division - would show 7

The number 3 in this $div command is the number of choosen prefix characters.
=== are 3 characters long.

@Florian @LyricsLover MANY THANKS! This is super cool…now I'm off to play with my new toy.