with metamask_wallet_address_list as (
select
distinct origin_from_address as user_address
from ethereum.core.ez_dex_swaps
where origin_to_address= '0x881d40237659c251811cec9c364ef91dc08d300c'
and origin_function_signature = '0x5f575529'
group by user_address
)
select
count(distinct buyer_address) as number_of_metamask_user
from ethereum.core.ez_nft_sales
where buyer_address in (select user_address from metamask_wallet_address_list)
and event_type = 'sale'