What Americans could have bought instead of a $4 billion election

An estimated $4 billion will be spent on the midterm elections - a record

One quarter of that - $1 billion - will be "dark money" spent by anonymous sources

What else could Americans have bought?

(CNN) -- Tuesday's elections are projected to be the most expensive midterms in history - costing almost $4 billion, according to Center for Responsive Politics, a non-partisan group that tracks money in politics.

Four billion bucks is a boatload of cash. It's 10 times more than the government has committed to fighting Ebola in West Africa and would be enough to build 100 treatment centers and run them for years.

That kind of money could also buy 25 F-18 fighter jets, pay for more than 12,000 students' K-12 education and have enough left over to produce a summer blockbuster.

Or, maybe it makes more sense to think about elections for what they are - glorified marketing campaigns. It took Apple, the world's most valuable company, the last four years or so to spend four billion advertising dollars.

Pumpkin lattes and the NC Senate race

Now, with some sense of the scale for the cash being thrown around, let's take a look at how it's being spent to influence how voters think about this election.

The bulk of that money is being spent by parties and candidates on the nuts and bolts of campaigning, things like staff salaries, advertising and get-out-the-vote efforts. But $1 billion of it is being spent by outside groups not formally tied to candidates or parties. But that's not to say they don't have a dog in the fight.

"Outside spenders are trying to buy influence. This year the Senate is up for grabs, we see massive spending in these competitive races. These people want to have their guy win, and they want their guy to know that they helped him win," said Ian Vandewalker of the Brennan Center for Justice, which supports campaign finance reform.

And much of that money comes from groups that don't disclose all their donors -- known in politics as dark money groups. They've grown in popularity since the Supreme Court's Citizens United ruling loosened campaign finance rules to allow groups to raise unlimited money from secret donors and campaign for or against candidates.

Vandewalker looked at nine races that could decide control of the Senate and found that by the end of September more than half of the roughly $160 million spent by outside groups came from dark money groups.

In Kentucky, a dark money group working to re-elect Senate Republican Leader Mitch McConnell has already spent about $7.5 million, making the Kentucky Opportunity Coalition "the biggest-spending, single-candidate dark-money group in the history of Senate elections," Vandewalker wrote in his report on election spending.

Because Kentucky Opportunity Coalition can take unlimited contributions to support McConnell, it essentially circumvents federal contribution limits, Vandewalker argues. Donors can give the max contribution of $5,200, which is publicly disclosed, directly to McConnell's campaign and then give unlimited secret money to Kentucky Opportunity Coalition.

The problem, Vandewalker said, is "voters really don't know who is trying to influence their votes on Election Day and who is trying to influence the elected officials who are going to take office after Election Day".