[Feature Request] New variables requested

Since my previous feature request is pretty pie-in-the-sky, I could really use some new variables.

I have some Actions that extensively use "%_counter%" and "%_total_files%". I would like the equivalent of those but ones that reset in each subdirectory. For example:

Filename   %_counter% %_total_files% %_counter_dir% %_total_files_dir%
A/B/C1.mp3      1           9                1              5
A/B/C2.mp3      2           9                2              5
A/B/C3.mp3      3           9                3              5
A/B/C4.mp3      4           9                4              5
A/B/C5.mp3      5           9                5              5
A/D/E1.mp3      6           9                1              3
A/D/E2.mp3      7           9                2              3
A/D/E3.mp3      8           9                3              3
A/F/G1.mp3      9           9                1              1

Right now, I need to manually select each group of files and run my Action on them once per directory.