user: ### NOW ANSWER:
Question: What is the total number of runs when the average was less than 31.25 and there were fewer than 24 innings?
Columns: ['Matches', 'Innings', 'Not Outs', 'Runs', 'Average']
Types: ['real', 'real', 'real', 'real', 'real']
Sample row: [13.0, 24.0, 3.0, 1047.0, 49.85]
SQL:

assistant: SELECT COUNT("Runs") FROM "Table" WHERE "Average" > 31.25 AND "Innings" < 24.0;