That's my point though as a swimmer you have multiple events at the same distance there for you have more opportunities for medals.
Runners don't have the same.
This swimmer medal counts can be Inflated.
I wouldn't say medal counts are inflated. That would infer that it is easier to get multiple medals in swimming. I'd concede that there is some merit to this, but mostly because there are 4 different relays (Medley and Freestyle in 4x100 and 4x200 distances) compared to 2 relays (4x100 and 4x400) in track and field. But is it easier to dominate 1 technique or 4?
A runner such as Usain Bolt has to master 1 technique - sprinting, in 3 distances, 100m, 200m and 400m. As these are all sprints, there is very little strategy or approach; only pacing is different. Starting techniques are identical, relay take-overs are identical in both distances. To be equivalent to swimming, it would be like Bolt also had world records and multiple Olympic medals in 110m hurdles and long jump as well.
While there are more events in swimming, there are also more techniques to master. You also have to train and prepare for different events and generally beat different people in each event as most swimmers are specialists in only 1 or 2 strokes. In the swimming world, everyone can free style, but swimmers tend to specialize in Backstroke, breast stroke or butterfly - some only do free style competitively.
Backstroke has a unique starts and turn techniques, breast stroke and butterfly use touch turns, freestyle and backstroke use variations on flip turns and in IM, the back to breast turn is different again. Breast stroke and backstroke have unique underwater pullouts. The approach is also different. Freestyle, backstroke and butterfly are very much power oriented strokes where breast stroke is more of a finesse stroke where timing and streamlining make a lot of difference. Freestyle, butterfly and back stroke swimmers are now all over 6'4", where for breast stroke specialists height isn't quite as much of an advantage.
Michael Phelps is a butterfly and freestyle specialist, but his backstroke and breast stroke are good enough that he held the 200 IM (Individual Medley) world record from 2003 - 2008 and has held the 400 IM world record since 2002. Phelps backstroke was near world class at one point, just not on the same level as his fly and free.
TL;DR
Yes - more events does equate to more opportunities to medal in each Olympics, but it also means more techniques to master and a wider range of competitors to beat.