user: ### NOW ANSWER:
Question: What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?
Columns: ['Year', 'Total Horses', 'Working Horses', 'Total Cattle', 'Oxen', 'Bulls', 'Cows', 'Pigs', 'Sheep and Goats']
Types: ['real', 'real', 'text', 'real', 'real', 'text', 'real', 'real', 'real']
Sample row: [1927.0, 5056.5, '3900.1', 8374.5, 805.5, '…', 3852.1, 4412.4, 7956.3]
SQL:

assistant: SELECT MIN("Total Horses") FROM "Table" WHERE "Total Cattle" < 6274.1 AND "Oxen" < 156.5 AND "Bulls" = '40.0' AND "Cows" < 3377.0;