How many IPOs can a company really do?

As many as they want. They can "spin off" and then "merge" again.