updated cost-model for aggregation-suggestion to include writes