user: ### NOW ANSWER:
Question: What's the number of the horse whose trainer is Kim Bailey?
Columns: ['Starting price', 'Number', 'Name', 'Age', 'Weight (st, lb)', 'Jockey', 'Trainer', 'Owner', 'Colours']
Types: ['text', 'real', 'text', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: ['8/1 JF', 4.0, 'Monkerhostin', 10.0, '11-6', 'Richard Johnson', 'Philip Hobbs', 'M. G. St. Quinton', 'Yellow and pink diamonds, yellow sleeves and cap']
SQL:

assistant: SELECT MAX("Number") FROM "Table" WHERE "Trainer" = 'Kim Bailey';