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_22553 ( "Nation" text, "Rider" text, "Horse" text, "Cross Country Penalties" text, "Total Penalties" text, "Total Team Penalties" text, "Team Rank" real )

### Question ###
How many total team penalties are there when cross country penalties is 30.40?

### Accurate SQL ###

SELECT "Total Team Penalties" FROM table_22553 WHERE "Cross Country Penalties" = '30.40'