Query editor
with balance as (select "from" as address, -try_cast(count (tokenId) as double) as amountfrom erc721_abstract.evt_transferwhere contract_address = 0xb47A26dF28923bc826100256E7d5FA01CD0817A7group by 1union allselect "to" as address, try_cast(count (tokenId) as double) as amountfrom erc721_abstract.evt_transferwhere contract_address = 0xb47A26dF28923bc826100256E7d5FA01CD0817A7group 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