fix index-count in a list
fixes illegal place aggregation