Name the number of episodes that jim barnes wrote for 1.82 million viewers
CREATE TABLE "table1_29329432_1" (
  "no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
SELECT COUNT("no") FROM "table1_29329432_1" WHERE "written_by"='Jim Barnes' AND "u_s_viewers_million"='1.82';