human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Wins, Start, Duration, Defeated by
###Question: How many wins were held before being defeated by toda?
gpt
SELECT COUNT Wins FROM table WHERE Defeated by = toda