Help for this page
Select Code to Download
Select
or
download this
perl -n -e '$count++ if /^REGEX/;}END{print "$count\n";' FILENAME