Query editor
witherc721_token_holders as (selectaddr,sum(cnt) cntfrom(select"to" addr,count(1) cntfromerc721_fantom.evt_Transferwherecontract_address = LOWER('{{Contract Address}}')group by1unionselect"from" addr,0 - count(1) cntfromerc721_fantom.evt_Transferwherecontract_address = LOWER('{{Contract Address}}')group by1) agroup by1havingsum(cnt) > 0)selectcount(1)fromerc721_token_holders