CREATE TABLE table_name_2 (grid VARCHAR, rider VARCHAR)

What is the total number of Grid, when Rider is Aleix Espargaro?
SELECT COUNT(grid) FROM table_name_2 WHERE rider = "aleix espargaro"
SELECT COUNT("grid") FROM "table_name_2" WHERE "aleix espargaro" = "rider"