## Bug description

When calculating Trends results with an aggregated (e.g. single output, like big number) display type, WAU/MAU don't work. This is because we have an `ACTIVE_USERS_SQL` query for time series display types, but we don't have a version of this for aggregated display types. (See ZEN-1043.)

## How to reproduce

1. Create an insight with a single WAU or MAU series.
2. Switch display type to "Number".
3. Open the "Debug ClickHouse queries" modal from the command palette.
4. See `COUNT(*)` instead of `COUNT(DISTINCT person_id)`.

#### *Thank you* for your bug report – we love squashing them!

posthog/queries/trends/util.py
counts = stats[1]
    labels = [item.strftime("%-d-%b-%Y{}".format(" %H:%M" if filter.interval == "hour" else "")) for item in stats[0]]
    days = [item.strftime("%Y-%m-%d{}".format(" %H:%M:%S" if filter.interval == "hour" else "")) for item in stats[0]]
    return {
        "data": [float(c) for c in counts],
        "count": float(sum(counts)),
        "labels": labels,
        "days": days,
        **additional_values,
    }
def get_active_user_params(
    filter: Union[Filter, PathFilter], entity: Entity, team_id: int
) -> Tuple[Dict[str, Any], Dict[str, Any]]:
    diff = timedelta(days=7 if entity.math == WEEKLY_ACTIVE else 30)
    date_from: datetime.datetime
    if filter.date_from:
        date_from = filter.date_from
    else:
        try:
            date_from = get_earliest_timestamp(team_id)
        except IndexError:
            raise ValidationError("Active User queries require a lower date bound")
    format_params = {
        
        "prev_interval": "6 DAY" if entity.math == WEEKLY_ACTIVE else "29 DAY",
        "parsed_date_from_prev_range": f"AND toDateTime(timestamp, 'UTC') >= toDateTime(%(date_from_active_users_adjusted)s, %(timezone)s)",
    }
    query_params = {"date_from_active_users_adjusted": (date_from - diff).strftime("%Y-%m-%d %H:%M:%S")}
    return format_params, query_params
def enumerate_time_range(filter: Filter, seconds_in_interval: int) -> List[str]: