CREATE TABLE table_29770377_1 (route_via VARCHAR2, train_name VARCHAR2)

How many route/via's are there for the ernad express?
SELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = "Ernad Express"
SELECT COUNT("route_via") FROM "table_29770377_1" WHERE "Ernad Express" = "train_name"