CREATE TABLE table_2367847_2 (elementary_schools VARCHAR, district_wide VARCHAR)

Name the total number of elementary schools for 31851
SELECT COUNT(elementary_schools) FROM table_2367847_2 WHERE district_wide = 31851
SELECT COUNT("elementary_schools") FROM "table_2367847_2" WHERE "district_wide" = 31851