$ChildCount – in Table Expression

i do not understand why children of subfolders are counted while immediate children aren’t? :thinking:

displaying the result in the table expression would be nice!

CleanShot 2022-06-19 at 14.31.04

The table expression shows per child data, not the data of the container itself. If you have one child note with no children, it has a $ChildCount of zero, which is what the table expression accurately reflects.

If you want the (container) note to show its own child count, use a Display Expression.

Thank you, @mwra

1 Like