Added expandCounts.