select
count(*) as swap_count,
label
from osmosis.core.fact_swaps
join osmosis.core.dim_labels on from_currency = address, table(flatten(input => pool_ids ))
where block_timestamp >= '2022-05-01'
group by label, label_type
order by swap_count desc
limit 10