I have an odd use case and I'm wondering whether a query guru out there somewhere might have an idea how to solve it. I have a parent in my project tree under which I place outdated projects that I don't want to close for various reasons. Some of my stakeholders want to be able to check in on an ongoing basis and see how many projects are under this parent. There are already over 100 and counting them by hand is too laborious to be practical, plus I need to be able to produce a count on demand.
Does anyone have any ideas for a query or other trick to count the leaf projects in this branch? There are not only direct children of the branch but also grand- and great-grand-children.
Come on... I know you can do it ;-)