select count(distinct address) as wallets , date(block_timestamp) as transactions_date
from
algorand.transaction_participation
where
(YEAR(transactions_date)= 2022 and MONTH(transactions_date)=1)
or
(YEAR(transactions_date)=2021 and MONTH(transactions_date)=12)
group by transactions_date
order by transactions_date