master
flag_frequency
def flag_frequency aggregation = collection.aggregate([ { '$match' => { 'flag_array' => {