Corrected the total count for some wc operations.