Nice to have an indication in tree view if there are attachments or not

For me, 75ms is already quiet an expensive addition.
This is not the queries that will be run because they are missing the filter for a set of ids. And you know that counting is expensive: Counters & performance