Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

During her speech on the economy this week, Hillary Clinton blasted Donald Trump as a bad businessman.

“[Trump has] written a lot of books about business,” said Clinton. “They all seem to end at Chapter 11. He bankrupted his companies, not once, not twice, but four times.”

She was recycling a battle cry that many of Trump’s rivals used against him during the GOP primary. Marco Rubio, Carly Fiorina and Jeb Bush all mocked Trump for his four bankruptcies.

And like Clinton, they were all wrong. Trump actually has six bankruptcies.

Over the course of 18 years, Trump's companies went into reorganization six times — five times in New Jersey, where he had his casino holdings, and once in New York:

Trump Taj Mahal Associates, Atlantic City casino — 1991

Trump Castle Hotel & Casino, Atlantic City casino — 1992

Trump Plaza Associates, Atlantic City casino — 1992

Plaza Operating Partners, Manhattan hotel — 1992

Trump Casino Holdings, Atlantic City casinos — 2004

Trump Entertainment Resorts, Atlantic City casinos — 2009

"It would be six separate bankruptcies," said bankruptcy lawyer Ted Connolly, author of "The Road Out of Debt: Bankruptcy and Other Solution to Your Financial Problems."

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Tthe former Trump Plaza casino in Atlantic City, N.J. Wayne Parry / AP

And an attorney directly familiar with the bankruptcy cases and the filings confirmed to NBC News the five Trump business bankruptcies in New Jersey.

Some may be referring to the three 1992 filings as a single bankruptcy; two of them were even filed on the same day. Or they may be lumping the three 1990s casino bankruptcies together.

But Connolly said that doesn't add up. "They were separate and distinct," he said.

READ: Hundreds Claim Donald Trump Stiffed Them

Even Trump seems a little hazy on the details.

During an August debate, he defended his record by saying, "Out of hundreds of deals that I've done — hundreds — on four occasions, I've taken advantage of the laws of this country, like other people.

"Hundreds and hundreds of deals. Four times, I've taken advantage of the laws," he continued.

In an October debate, his math memory got a little fuzzier.

"Hundreds of companies I've opened," he said. "I've used it [bankruptcy] three, maybe four times. Came out great."

The Trump campaign did not respond to requests for comment.

Trump takes umbrage at the idea that he went bankrupt, always pointing out that he never filed personally and that he used the bankruptcy laws to get richer.

Connolly said taking his casinos into Chapter 11 was "reasonable and responsible" and the right decision for Trump and his bondholders.

"It looked like a fair deal and actually kept them going," Connolly said.

But Mike D'Antonio, author of the book "Never Enough: Donald Trump and the Pursuit of Success," said the bankruptcies shouldn't come with bragging rights.

"Donald likes to say his bankruptcy filings were just a tool he's been using for his businesses," D'Antonio said. "He's had a string of failures. And you're not just talking about big investors. You're also taking about bond holders, not big banks...people who invested their retirements.

"So, you can call it a legal tool that he's using, but lots of people have been hurt along the way. It’s been a badge of shame for him."