in reply to Faster way to do this?
There was a similar question asked two months ago.
Counting no of '>' symbol in a file