Updated to work with python 2.6, provided "counter" and "ordereddict" are installed from pip.