get multiple queries, sums them