Fetch top k frequent fields

Sorry on 2 counts.

One, you are right, the fields data is keeping a sort of count, but not counting how many docs each field is present in.

Two, the answer quoted there makes no sense to me. But I was just curious.