quantifying_linguistic_diversity: fixing a nasty bug that affected Norway and Armenia