Revert "Modify to use "wc <file>" instead of "cat <file> | wc""

This reverts commit c25885ac132728664a187b981cc49c7f97f93e77.