user: Question: How many total team penalties are there when cross country penalties is 30.40?
Columns: ['Nation', 'Rider', 'Horse', 'Cross Country Penalties', 'Total Penalties', 'Total Team Penalties', 'Team Rank']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'real']
Sample row: ['Germany', 'Peter Thomsen', 'The Ghost Of Hamish', '25.60', '98.90', '158.10', 1.0]
SQL:

assistant: SELECT SUM("Total Team Penalties") FROM "Table" WHERE "Cross Country Penalties" = '30.40';