simplifying wc -l

simplifying wc -l and no need for invoking awk
Merge pull request #3 from stasic/patch-1

simplifying wc -l