The document discusses audience counting at scale using Spark. It provides context on a customer that collects data on 1 billion user profiles to build models and make predictions. It then discusses motivation, counting fundamentals using HyperLogLog, and how to perform counting with Spark. Specifically, it shows how to transform log data into HyperLogLog summaries, work with the data in DataFrames, and provide examples of counting audiences and segments. It also provides some notes on writing custom Spark aggregation functions and using Spark as an in-memory SQL database for analytics.