Datadog Interview Question

Count repetitions in a paragraph. Recursive counting of points.