Query editor
with labeled_tx as (select evt_block_time, evt_tx_hash, "from" as sender, "to", value,CASEWHEN name LIKE '%.eth' or name is NULL then 'user'ELSE nameEND as namefrom erc20_arbitrum.evt_Transferleft join labels.allon address = to -- or address = lower(cast("from" as varchar))and label_type = 'identifier'where contract_address in (0x4CFA50B7Ce747e2D61724fcAc57f24B748FF2b2A))select name, count(*) as transactions from labeled_txgroup by name