That is not what mattered in 2016. The Delegate count is what mattered (as it will this year). In 2016 there were super-delegates that were almost entirely in the bag for HRC, doing the work of the establishment DNC.
There are super-delegates this year as well, but they are not in play at the convention until the second round of voting, if such a thing is needed.
Pledged delegates are those earned via voting processes, unpledged are the DNC party affiliates. 2382 total delegates were needed to win.
HRC pledged delegate count - 2271
Sanders pledged - 1820
Total unpledged available - 616
So if the unpledged delegates were not put in place, then there would have been a brokered convention, and the pledged delegates would have had to sort it out. Bernie had a shot, and it was taken away by the 571 unpledged delegates that put HRC into the election.
Hillary secured roughly 56% of the delegates based on voting, Sanders 44%. Yet Clinton got a whopping 93% of the super delegates to secure the nomination. So yes, it does give the appearance of a rigged contest by the DNC.
Source for the numbers -
Results of the 2016 Democratic Party presidential primaries - Wikipedia
At the end of the day HRC followed the rules and won the contest, but it sure looked like the DNC wanted HRC, not Sanders.