tag.statuses.where('statuses.id BETWEEN ? AND ?',Mastodon::Snowflake.id_at(@start_at,with_random:false),Mastodon::Snowflake.id_at(@end_at,with_random:false)).joins(:account).count('distinct accounts.domain')
tag.statuses.where('statuses.id BETWEEN ? AND ?',Mastodon::Snowflake.id_at(@start_at-length_of_period,with_random:false),Mastodon::Snowflake.id_at(@end_at-length_of_period,with_random:false)).joins(:account).count('distinct accounts.domain')