def _compute_mandate_assembly_count(self):
        """
        count the number of assemblies linked to the current partner
        count the number of mandates linked to the assemblies of the
        current partner
        """
        for partner in self:
            assemblies = partner._get_assemblies()
            partner.ext_assembly_count = len(assemblies)
            partner.ext_mandate_count = len(assemblies._get_mandates())