select
project_name as "Contract Name",
count(*) as "Count"
from optimism.core.fact_event_logs left join optimism.core.dim_labels on contract_address = address
where
tx_status = 'SUCCESS' and
"Contract Name" is not null
group by 1
order by 2 desc
limit 20