with total_votes as (
select count (distinct tx_id) as tota_count_of_votes
from osmosis.core.fact_governance_votes t1 join
osmosis.core.dim_vote_options t2 on t1.vote_option = t2.vote_id
where tx_status = 'SUCCEEDED'
and proposal_id in ('362')
)
select * from total_votes;