with first_transaction as
(select from_address,min(block_timestamp) as first_time from polygon.core.fact_transactions
-- where block_timestamp between '2023-01-01' and '2024-01-01'
where nonce=0
group by from_address)
select count(distinct from_address) as Total_users
from first_transaction