added back agg_price_counts generation code