This section is at https://rollingedition.com/observability-for-llm-applications/choose-what-to-keep#estimating-totals-from-a-sample.