Library › Sales AI › Revenue operations

Count survey comment themes once per person and break ties

  • For Revenue operations
  • You practice Catching mistakes and made-up facts
  • Time about 5 minutes
  • Level Advanced

About this exercise

Count the themes in the 12 rep comments and report exactly 3 plain-text lines in the form "Theme: n of N comments", sorted by count from most to fewest (break ties alphabetically). Each person's comment counts once, so if two comments are from the same person, count them as one comment. N is the number of unique comments after combining. Add nothing else.

Common mistakes when you ask AI for this

  • Counting the duplicate person. The AI reports Stages 4 and N of 12. Try: Add: "Count each person once; N is the unique comment count."
  • Wrong tie order. The AI puts Stages before Fields. Try: Add: "Break ties alphabetically."
  • Extra text. The AI adds quotes and recommendations. Try: Add: "Exactly 3 lines, nothing else."
  • Trusting the AI to count words. AI is bad at counting and runs long when you only give a total. Try: Cap each part, like "each line under 15 words," so the total lands well under the limit.

What a strong prompt includes

  • Shows the line form
  • Counts once per person
  • Sorts by count
  • Breaks ties
  • Nothing else

Practice this now ↑

Related exercises