Added List.collectAttributeCounts