How the Caliphates Governed at Scale