with tab1 as (select DELEGATOR as staker, count(tx_id) as stake_count
from flow.core.ez_staking_actions
where action in ('DelegatorTokensCommitted','TokensCommitted')
group by 1)
select avg(eth_vol) as Avg, median(eth_vol) AS Median, min(eth_vol) as Min, max(eth_vol) as Max
from tab1
group by 1