Database
[{_id:"611478ac34dde61f28dbe4db",questions:[{answers:["a","b","c"],},{answers:["m","n","o","p"],},]}]
Query
db.collection.aggregate([{$project:{"questions":{$map:{input:"$questions",as:"question",in:{answers:{$size:"$$question.answers"}}}}}}])