Add a method to help with filter/field iteration

- Add explanatory comments
It should be equal to the sum of the 3 in all cases besides duplicates and "IDX=123", right?

I'll add the IDX case but I'm wondering if you mean more than this.