Updated 2022-10-23
    with tab1 as (
    SELECT tx_id
    from flow.core.fact_events
    where event_contract ilike '%raceday%'
    and EVENT_TYPE = 'Minted'
    )

    SELECT COUNT( DISTINCT EVENT_DATA:to ) as minters
    from tab1 A , flow.core.fact_events B
    where A.tx_id = B.tx_id
    and event_type = 'Deposit'

    Run a query to Download Data