This was incredibly easy in the end.... your answer is pretty much what I was trying to get to, only I didn't want to see the count per recipient, only the overall count of distinct subject headers so:
index="mail" | stats count by subject | search count>50
Added an alert which is only triggered when the count is greater than 50 🙂
... View more