A day after President Donald Trump said the Affordable Care Act “has been repealed,” officials reported that 8.8 million Americans have signed up for coverage on the federal insurance exchange in 2018 — nearly reaching 2017’s number in half the sign-up time.

That total is far from complete. Enrollment is still open in parts of seven states, including Florida and Texas, that use the federal healthcare.gov exchange but were affected by hurricanes earlier this year. The numbers released Thursday by the Department of Health and Human Services also did not include those who signed up between midnight Dec. 15 and 3 a.m. ET on Dec. 16, the final deadline for 2018 coverage, as well as those who could not finish enrolling before the deadline and left their phone number for a call back.

And enrollment has not yet closed in 11 states — including California and New York — plus Washington, D.C., that run their own insurance exchanges. Those states are expected to add several million more enrollees.

The robust numbers for sign-ups on the federal exchange — 96 percent of last year’s total — surprised both supporters and opponents of the health law, who almost universally thought the numbers would be lower. Not only was the sign-up period reduced by half, but the Trump administration dramatically cut funding for advertising and enrollment aid. Republicans in Congress spent much of the year trying to repeal and replace the law, while Trump repeatedly declared the health law dead, leading to widespread confusion.

On the other hand, a Trump decision aimed at hurting the exchanges may have backfired. When he canceled federal subsidies to help insurers offer discounts to their lowest-income customers, it produced some surprising bargains for those who qualify for federal premium help. That may have boosted enrollment.

“Enrollment defied expectations and the Trump administration’s efforts to undermine it,” said Lori Lodes, a former Obama administration health official who joined with other Obama alumni to try to promote enrollment in the absence of federal outreach efforts. “The demand for affordable coverage speaks volumes — proving, yet again, the staying power of the marketplaces.”

“The ACA is not repealed and not going away,” tweeted Andy Slavitt, who oversaw the ACA under President Barack Obama.

The tax bill passed by Congress this week repeals the fines for those who fail to obtain health coverage, but those fines do not go away until 2019. Still, that has added to the confusion for 2018 coverage.

And it remains unclear whether Congress will make another attempt to repeal the law in 2018.

“I think we’ll probably move on to other issues,” Senate Majority Leader Mitch McConnell (R-Ky.) said in an interview Friday with NPR.