BayesScore: faster count aggregation through the magic of linear algebra