Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_10249 ( "Class" text, "Wheel arrangement" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Year(s) withdrawn" text )

### Question ###
How many CLASS P14 trains were made?

### Accurate SQL ###

SELECT "Quantity made" FROM table_10249 WHERE "Class" = 'p14'