Is there a legal number of marriages a person can have?

In western countries you can get married as often as you like, provided you get divorced first.