How many Top 10s have Wins larger than 0, and Poles larger than 0?
CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);
SELECT COUNT("top_10") FROM "nascar_sprint_cup_series" WHERE "wins">0 AND "poles">0;