Single pass count and cross computation

Useful in situations where you want the total and sub count, without
itemizing per-column.