Collections Column Snippet Renderer

Hello,

is it possible to create a column in collection to show count of childs as number?

thank you in advance.

bye
Chris

Maybe this snippet renderer works:

<?php
$row = $modx->getOption('row', $scriptProperties, '');
$children = $modx->getChildIds($row['id'],1,array('context' => 'web'));
return count($children);

great. it works.
Many thanks…

:pray: