removed the wc program requirement.

If done directly in python it is not OS dependent