correctly computing childCount for child of listing