Added child count indicator and ensure it is updated when its number of
children change