Table: james_johnson
Columns: name
gain
loss
long
avg_g

Question: How many losses did leon patton have with the longest gain higher than 45?
SQL: SELECT COUNT("loss") FROM james_johnson WHERE "name" = 'leon patton' AND "long" > 45