Sparse counts

Sparse counts using parallel arrays.