How many times did Optimus Prime die in the 1st ever series and film before all the new remakes?

I believe it was once in the movie and once in the show, I can't tell you anything about the seasons after the fourth English season because Japan took a different path when they decided to continue the series, technically, they're not cannon with the U.S. series.

he also died once in transformers armada but was ressurected by the minicons