trantor had ten formal constitutions and as many sets of laws drawn up for its various classes of citizens ; there were literally millions of commentaries in tens of thousands of volumes on how the sets of statutes interacted .