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

How many districts was Robert Livingston incumbent in?
SELECT COUNT("District") FROM table_18179 WHERE "Incumbent" = 'Robert Livingston'
SELECT COUNT("District") FROM "table_18179" WHERE "Incumbent" = 'Robert Livingston'