Count unique ids inside aggregation

Fits like a glove :bowing_man:.

Thank you so much!!!