count sums for each taxonomy