Working impl of VariantFreq.