select
date_trunc('month',BLOCK_TIMESTAMP)::DATE AS MONTH,
SYMBOL,
count(DISTINCT BORROWER_ADDRESS) AS "Unique Borrowers Count",
count(*) AS "Borrow Events Count"
from ethereum.aave.ez_borrows where SYMBOL in ('MKR','UNI','SNX') and AAVE_VERSION='Aave V2'
group by 1,2