select count(distinct tx_group_id)
as total_swaps,
swap_program
as swap_prg,
block_timestamp::date
as date_time
from algorand.swaps
where swap_to_asset_id = '694432641'
and swap_from_amount > 0
and block_timestamp::date >= '2022-01-01'
group by date_time, swap_prg