More than 20,700 gun seizures has led to three consecutive years of shooting and homicide declines, city officials said.