The number of days when Texas beaches had swimming advisories dropped from 317 in 2001 to 182 last year .