CREATE TABLE "statewide_tickets_on_which_spitzer_has_r" (
  "year" real,
  "party" text,
  "governor" text,
  "lieutenant_governor" text,
  "comptroller" text,
  "attorney_general" text,
  "u_s_senate" text
);

Question: what is the U.S. senate when the year is after 2002 and the party is working families?
SQL: SELECT "u_s_senate" FROM "statewide_tickets_on_which_spitzer_has_r" WHERE "year">2002 AND "party"='working families';

Question: How many times what the comptroller alan hevesi and the party working families?
SQL: SELECT COUNT("year") FROM "statewide_tickets_on_which_spitzer_has_r" WHERE "comptroller"='alan hevesi' AND "party"='working families';