Are you ok with regular expressions? In JRE 1.4 or later look at the JavaDoc for
Pattern and see if you can make one that matches the literal ">Trigger count =", then any number of digits 0-9, then the literal "<". You can use Matcher and getGroup to get the matching
string, then break it apart on spaces or substringing or whatever. With "capturing groups"
you should be able to get the number out directly.
Let us know if that's too vague ... we try to avoid giving the answer straight out but don't want to make it too hard to find either.