How many logical drives can you create in an extended partition?

How many logical drives can you create in an extended partition?