Remove dependency on Counter.

Counter is not present in python 2.6. Also no longer called anywhere in
code.