with tab1 as (
select
sender,
tx_hash as tx,
min(date_trunc('day', block_timestamp))
from ethereum.sushi.ez_swaps
group by 1,2 )
select
symbol_out,
count(*)
from ethereum.sushi.ez_swaps
where tx_hash in (select tx from tab1)
and symbol_in like 'SUSHI'
group by 1