What is the aggregate number of 2005 that has 2004 bigger than 1,040, and a Country of Chile, and 2006 littler than 5,560?
CREATE TABLE "copper_production_thousands_tonnes" (
  "country" text,
  "2002" real,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real,
  "2007" real,
  "2008" real,
  "2009" real,
  "2010" real,
  "2011" real
);
SELECT COUNT("2005") FROM "copper_production_thousands_tonnes" WHERE "2004">'1,040' AND "country"='chile' AND "2006"<'5,560';