accumulate package counts over multiple attributes