move countDate.toJSON into the stockCountFactory.save