select count (distinct tx_id) as "Number of activity", EVENT_TYPE as "activity"--,TOKEN_IN_CONTRACT as "Token in"
from flow.core.fact_events
where BLOCK_TIMESTAMP::date >= CURRENT_DATE -10
group by "activity"--,"Token in"
order by "Number of activity" desc
limit 20