Your question is Design Word Count at Scale. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design word count at scale. Asked in the onsite stage.
Focus on how you would count words across large document streams, support both batch and near-real-time updates, and keep counts correct under retries and late data. Explain the architecture, data flow, and how you would validate correctness and monitor drift or pipeline failures.