Query editor
with balance as (select "from" as address, -sum(cast(amount as double)) as amountfrom nft.transferswhere contract_address = 0x2c3380AaF13Ba2F490C48FC63990dB72fB46EAF1and blockchain = 'polygon'group by 1union allselect "to" as address, sum(cast(amount as double)) as amountfrom nft.transferswhere contract_address = 0x2c3380AaF13Ba2F490C48FC63990dB72fB46EAF1and blockchain = 'polygon'group by 1),hold as (select address, sum(amount) as bfrom balancegroup by 1having sum(amount) > 0)select count(address) as total_holders, max(b) as top_holderfrom hold