with diff_votes as (
select
voter,
count(distinct vote_option) as vote_cnt
from
osmosis.core.fact_governance_votes a join osmosis.core.dim_vote_options b on a.vote_option = b.vote_id
where
tx_status='SUCCEEDED' and proposal_id='362'
group by
1
order by
1 asc
)
select
vote_cnt,
count(*) as cnt
from
diff_votes
group by
1