I'm just using the medal table from Wikipedia, where they're separated. I think just treating each NOC as unique makes it easier as otherwise you have to decide what counts as the same/different countries and disagreements will happen. I think using an objective criterion makes it simpler.
I’ve updated the quiz to make it more like QM’s Winter Olympics quiz, now both of those are indeed counted for Germany and the Unified Team for the USSR