refactored totalling repos-language hash