Counting the number of methods defined in a C++ header
<p>Is there a tool to count the number of methods defined in a header? This seems like something that people would want to do from time to time, but I've never heard of such a utility. I could roll my own (and it'd be quite easy to come up with something that works for me in <em>this</em> particular case), but I thought I'd try stackoverflow first :)</p>

<p>Thanks,
Yi</p>
