Added Counter implementation to satisfy test_dawg and Py2.5