1.  Create a simple or a conditional mail merge in Export.
2.  On the output tab of the constituent export select Summary Information > Gifts > Total Gift Amount.
3.  Apply the appropriate filters to specify which gifts need to be included.