I guess that
does address my concrete question as given.
But I think I was less imagining a countersuit that literally just "seeks damages for wasted time and effort"... and more imagining a countersuit that can somehow "rope in" the claims in the original suit, so as to force those claims to be evaluated and case law to be created upon that evaluation — whether the original claimant likes it or not.
Imagine, by analogy, outside the domain of IP law:
1. Party A threatens to sue party B for having violated the terms of some contract they have.
2. Party A then drops this threat.
3. Party B then sues party A with the intent of having a judge still evaluate that same question, but now in the other direction: "would party A have had legal standing to sue party B?" — where in the case that party B wins that judgement, this would not only award damages to party B, but also have the same case-law impact as if party A had really sued party B, and lost.