with adr as (select
ADDRESS
FROM flipside_prod_db.algorand.account
where ACCOUNT_CLOSED = 'FALSE' and balance > 1 )
select
count( distinct SENDER ) as blc_plus_one_senders
from flipside_prod_db.algorand.transactions
where sender in (select * from adr)
and BLOCK_TIMESTAMP ilike '2022-05%'