What's the total loss that has more than 12 win and 1017?
Benalla DFL Wins Losses Draws Byes Against
Benalla & District Football League
17982145
text real real real real real
2-17982145-3
2009 Ladder and Finals
2009 Ladder and Finals
Bonnie Doon 16 0 0 4 382
Swanpool 12 4 0 4 1017
Goorambat 7 8 1 4 1258
Longwood 4 11 1 4 1944
Tatong 0 16 0 4 3163
SELECT COUNT Losses FROM table WHERE Against = 1017 AND Wins > 12
1017 12