add output countGoods