Ben Cohen and crew gave away 10,000 scoops of ice cream on Wednesday afternoon