Thanks, that works! In my case I'm looking for the array, so I just 
modified the return line to
  return [collect(keys(freqs)) collect(values(freqs))]


Reply via email to