Query editor
selectsum(number_of_tx) as number_of_txfrom(-- number of direct txsselectcount(*) as number_of_txFROMpolygon.transactions as ptinner join query_3100009 as m on m.module_address = pt.to -- safe modulesor m.module_address = pt."from"union all-- number of ERC20s transfersselectcount(*) AS number_of_tx -- the transaction does not need to have any monetary valuefromtransfers_polygon.erc20 as tpeinner join query_3100009 as m on m.module_address = tpe.wallet_address -- safe modules-- union all-- nested calls-- SELECT-- count(*) AS number_of_tx-- FROM-- polygon.traces as et-- inner join modules as m on m.module_address = et.to-- or m.module_address = et."from")