[DOCS] Removed differencies between text and code
@@ -5,8 +5,7 @@ A `single-value` metrics aggregation that calculates an approximate count of
distinct values. Values can be extracted either from specific fields in the
document or generated by a script.
-Assume you are indexing books and would like to count the unique authors that
-match a query:
+Assume you are indexing store sales and would like to count the unique number of sold products that match a query:
[source,js]
--------------------------------------------------
