Mod: use of grep instead of awk on wc for the line count.