the administrative division of the carolingian empire divided the catalan territory into counties