human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Season, League, Finish, Wins, Losses, Ties
###Question: What is the number of losses when the ties are lesser than 0?
gpt
SELECT COUNT Losses FROM table WHERE Ties < 0