need hlep mongo with the doumrntation, i copied this part :
db.books.aggregate([ { $group : { _id : "$author", avgCopies: { $a