A summary search changes the result from individual records to grouped measures. Use Group for the field that identifies each group and a numeric summary such as Sum for the amount. The summary describes only the records admitted by the criteria and the selected grain.
All result columns in this local summary editor need a summary type. Mixing raw detail columns with summary columns is rejected. Count measures rows at the chosen grain, which can differ from a count of orders if the search returns item lines. NetSuite supports more formulas and joins than this subset. Keep a detail search available when someone needs to trace a group total back to source IDs. Run the final definition before exporting; an earlier export remains a snapshot of the earlier result.