compute team tourney points using mongodb aggregation