CREATE TABLE "ratings" (
  "episode_number_production_number" text,
  "title" text,
  "sydney" real,
  "melbourne" real,
  "brisbane" real,
  "adelaide" real,
  "perth" real,
  "total" real,
  "weekly_rank" text,
  "nightly_rank" text
);

Question: what is the nightly rank where the episode number production number is 06 1-06?
SQL: SELECT COUNT("nightly_rank") FROM "ratings" WHERE "episode_number_production_number"='06 1-06';

Question: what is the number of weekly rank where the total is 1980000?
SQL: SELECT COUNT("weekly_rank") FROM "ratings" WHERE "total"=1980000;