I often work in projects where all TODO items are bundled in one separate file. Often, I have quite a bit of TODO items which are then cluttering the agenda, while what I actually want is just a line meaning something like 'Still TODO items left in this-and-this-project'. Is there an elegant, built-in way to show such a kind of summarized status in the agenda? I imagine a line like
One possible way to go would be to construct something like a summary item, which is then updated each time something in the file's todo tree is changed. That does feel quite hacky, though, and seems to require a bit of discipline (e.g. in organizing the layout of the project file, and not scheduling any sub-items, etc.). I would prefer a solution which relies on built-in functionality as much as possible. Any ideas?