"Path lenght" column

I'd like to have a column for groping files according to their path's lenght. e. g. a file which has a path with four subfolder vs a file which has a path with five subfolder and so on.
I'd like it because I then can apply different "filename to tag" process according to this information.
Hope I clarify myself.
Sorry for my english.
Tx

You can use
$folderdepth(%_folderpath%)

It works!
Thank you!!!