in reply to Counting no of '>' symbol in a file

<inputfilename tr -d \> | wc -c