message: limit maximum hll estimate
diff: @@ -92,7 +92,8 @@ idx_t DistinctStatistics::GetCount() const {
  double u1 = pow(u / s, 2) * u;
  // Estimate total uniques using Good Turing Estimation
  - return u + u1 / s * (n - s);
  + idx_t estimate = u + u1 / s * (n - s);
  + return MinValue<idx_t>(estimate, total_count);
  }
  } // namespace duckdb
  