softwareheritage=> select (select url from metadata_authority where metadata_authority.id=authority_id), count(*) from raw_extrinsic_metadata where target > 'swh:1:ori:' and target < 'swh:1:orz' group by authority_id;
-- number of origins with origin metadata, per domain
softwareheritage=> select (select url from metadata_authority where metadata_authority.id=authority_id), count(distinct target) from raw_extrinsic_metadata where target > 'swh:1:ori:' and target < 'swh:1:orz' group by authority_id;