CREATE TABLE table_28923 ("District" TEXT, "Incumbent" TEXT, "Party" TEXT, "First elected" TEXT, "Result" TEXT, "Candidates" TEXT)

How many parties were first elected in 1805?
SELECT COUNT("Party") FROM table_28923 WHERE "First elected" = '1805'
SELECT COUNT("Party") FROM "table_28923" WHERE "First elected" = '1805'