Mongo lookup Query

@Nabeel_Raza I shared you sample collections format. This will not give you result. I was trying to take help from someone that can fulfill my requirement.
My question was how to get active headcount from users collections in $project as used “activeHeadCount:{$sum:”$userdetails._userId"}". Need to confirm syntax and solution.