fix dependency for python2.7 counter