Query editor
withclami_detail as (selectsubstr(data, 1, 4) as functionfromerc721_ethereum.evt_Transfer erc721_transferleft join ethereum.transactions on evt_tx_hash = hashwhereevt_block_number >= 17217064and block_number >= 17217064and erc721_transfer."from" = 0x0000000000000000000000000000000000000000and contract_address = 0x4ebb2384cc1e86f578e37f2057b336b9027cb95a)selectif(function = 0xefef39a1,'purchase','purchaseWithComment') as function,count(1) as call_countfromclami_detailgroup by1