How many states had to approve the Constitution for it to be ratified?

Nine states