Only once, but then it’s rare that a show needs to be canceled more than one time.
And Family Guy, which is why I said rarely.
And I suppose there are arguments to be made in either direction when a show gets “resurrected” but it’s decades later, like Rosanne. If you count that, then it’s actually becoming more common for shows to be canceled multiple times.