How many estates were there in Qing society