Not quite what you want, but there may be something in this addon that sheds some light on the subject:
How Many Are Attacking Me?
I haven't looked at its code nor actually tested its performance, but seems to have an impact on my rather low-end PC - possible indicator of a brute-force-ish method...?