 how many first elected with result being re-elected and incumbent being gary ackerman redistricted from the 7th district
CREATE TABLE "table1_1341549_33" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
SELECT COUNT("first_elected") FROM "table1_1341549_33" WHERE "result"='Re-elected' AND "incumbent"='Gary Ackerman Redistricted from the 7th district';