Since 1896 when two bronze and one silver medal were shared, there have been a total of 118 ties across 114 events in the Olympic games, and 30 in 29 in the Winter Olympics.
Of these ties, 29 have been for Gold medals at the summer olympics.
https://en.wikipedia.org/wiki/List_of_ties_for_medals_at_the_Olympics