Hello again. Does anybody have a clue on how this could be accomplished, what direction to follow? We have been working with MongoDB aggregates for more than a month and we continue to learn so many new things, but the sheer number of operators is quite overwhelming.

Any clues or ideas, @Peter_Hubbard ?

Thanks,
Alex