Why would someone import ```Counter``` from both locations if it does the same thing? If ```Counter``` is not supported in Python 2.6, it is highly recommended that it should be imported from ```sympy.core.compatibility```.