added Table.nonzeroCounts

* counts over axes
* can be optimized much further for sparse matrices
* did not test for dense as we are dropping support