Around 3,000 sandbags were handed out as Storm Bert blasted Northern Ireland at the weekend, a minister has revealed.