Note This is the python 3 version https://github.com/ofirlevy/repcount We are still trying to work on the improvements