I have a list of keys, very imaginatively called, “Type1”, “Type2” etc.
Each one has a value (so far, so good.)
However I have a list of values that I want to know what key they are and how many of each.
I want my output to be a count of each type:
So in the image it’d be
4 Type 1
3 Type 2
4 Type 3
5 Type 4
1 Type 5
0 Type 6
I have a count in the watch node on the far right but I don’t know which key each one is.
I could use the == for each value but I don’t like this (drawn red rectangle).
It’s easy to get the value from a key (green group)
But I don’t know how to get the key from a value (red group).