How would I convert the key value pairs of an accumulator data structure to a dataframe

I’m using the count function from the accumulator data structure from DataStructures.jl, and I’m getting exactly what I need, but I’m having a tough time extracting the values. I went to the source code and there are some methods to call values and keys, but it still stays in that accumulator form.

I’m used to Python where there are methods like to_list() etc… essentially I just want the count accumulator keys to be columns of a dataframe and the one row of the dataframe to be the count values

Please post an MWE we can run.