Herschel-ATLAS: Extragalactic number counts from 250 to 500 microns