For how many years was the location at Beijing?
CREATE TABLE "team" (
  "year" real,
  "location" text,
  "gold" text,
  "silver" text,
  "bronze" text
);
SELECT SUM("year") FROM "team" WHERE "location"='beijing';