Added get_freqs for dict of quartets