A prior version of this story incorrectly described the Florida and Ohio Democratic primaries.

Bernie Sanders shook up the Democratic presidential primary race with his win Tuesday in Michigan. But Hillary Clinton had a better night than the headlines may suggest to some.

The simple reason: delegates. Thankfully for Clinton, Michigan awarded delegates proportionally, meaning she walked away from the primary with 58 delegates. That wasn’t as many as Sanders’ 65, but combined with her win in Mississippi’s primary, she had the more-important results. Add it up and Clinton bagged 87 delegates to her rival’s 69.

Read:Sanders shocks Clinton in Michigan, Trump bolsters lead.

Those numbers are what really matter for clinching the Democratic nomination. To get the nod, a candidate needs 2,383 delegates. Clinton is well on her way to that magic number, with more than half of what’s required.

Here’s how the delegates are stacking up on both sides. Note that the Democrats’ tally includes so-called superdelegates, a big part of Clinton’s lead.

If Clinton wins next week’s primaries in Florida and Ohio, her lead would further widen. A combined 405 delegates are at stake from those two states. But if Sanders pulls off victory in either state, the nomination fight will drag on longer.