Slots aren't meaningful. There is very little random variation in performance on the event. More slots per capita just means more room for less capable people to compete and lose.
But those 4 smaller countries having 1/7 slots wouldn't mean 1/7 gold medals, since they only send 5-10 gold medalists each year in those slots.
Romania averages over 1 gold medal per year. China, with 70x the population of Romania, should easily be getting 6 gold medals per year almost every year and about 70 theoretical golds of their deep bench got tested, if it has comparable per capita performance to Romania.
Of course all these stats are kind of silly because of sampling limitations.