Query editor
with balancelist as (WITH double_entry_book AS (SELECTevt_tx_hash AS tx_hash,tr."from" AS address,-(tr.value/1e18) AS amount,contract_addressFROM erc20_ethereum.evt_transfer trWHERE contract_address = 0x514910771AF9Ca656af840dff83E8264EcF986CAUNION ALLSELECTevt_tx_hash AS tx_hash,tr."to" AS address,(tr.value/1e18) AS amount,contract_addressFROM erc20_ethereum.evt_transfer trwhere contract_address = 0x514910771AF9Ca656af840dff83E8264EcF986CA)select double_entry_book.address, sum(amount) as balancefrom double_entry_bookgroup by addressorder by balance desc)selectcount(address)from balancelistwhere balance > 0.0000000000001