CREATE TABLE table_31981 ("Rider" TEXT, "Bike" TEXT, "Laps" FLOAT, "Time" TEXT, "Grid" FLOAT)

Tell me the total number of grid for rider of james toseland
SELECT COUNT("Grid") FROM table_31981 WHERE "Rider" = 'james toseland'
SELECT COUNT("Grid") FROM "table_31981" WHERE "Rider" = 'james toseland'