change to hashing the language counts