Removed some duplicate code. Using a Timer class in pycount script rather than timing methods.