Query editor
SELECT SUM(pools) AS edge_pools_count FROM (SELECT COUNT(DISTINCT contract_address) AS pools from csigma_arbitrum.CsigmaV2Pool_call_activatePoolUNION ALLSELECT COUNT(DISTINCT contract_address) AS pools from csigma_base.CsigmaV2Pool_call_activatePoolUNION ALLSELECT COUNT(DISTINCT contract_address) AS pools from csigma_ethereum.CsigmaV2Pool_call_activatePoolUNION ALLSELECT COUNT(DISTINCT contract_address) AS pools from csigma_csusd_vault_ethereum.csigmav3pool_call_activatePool)