select
count(address)
from (
select
address,
min(block_timestamp) as earliest_date -- takes the earliest entry of the validator in this table
from terra.validator_voting_power
group by address )
where earliest_date >= CURRENT_DATE - 60 -- selects entries where the record starts in the past 60 days
--group by address
--order by 2 desc