Changing wc -l to the awk to get line count