select
count(distinct FROM_ADDRESS)as "Wallets",
count(distinct tx_hash) as "Number of Transactions",
sum(xdai_value) as "Total xDAI Volume",
sum(tx_fee) as "Total Fees"
from
gnosis.core.fact_transactions
where
block_timestamp::date between '2022-10-05' and '2022-10-08'
AND
TO_ADDRESS = '0xc38d4991c951fe8bce1a12beef2046ef36b0fa4a'