select
address,
address_name,
count(distinct tx_hash) as tx_count
from
ethereum.core.fact_transactions join
flipside_prod_db.crosschain.address_labels on
to_address = address
where
block_timestamp::date >= current_date - 365 and
project_name = 'tornado cash' and
label_subtype = 'general_contract' and
blockchain = 'ethereum'
group by 1, 2