Updated the origin_diff_count method.  Forgot to replace some test code with the real deal.