I'll post a spreadsheet in a moment, but here's the top 5:
- USA: 167
- CHN: 164
- ROC: 109
- GBR: 96
- JPN: 95
Which I think makes the ranking the same as total medals for the top 5.
EDIT: Spreadsheet is here https://cryptpad.fr/sheet/#/2/sheet/view/yFp7KdPHA2hC1cBOL0A...