most frequent entities
sample results
mapreduce functions in mongo
map reduce for counting types