What is the total number of runs when the average was less than 31.25 and there were fewer than 24 innings?
CREATE TABLE table_name_51 (
    runs VARCHAR,
    average VARCHAR,
    innings VARCHAR
)
SELECT COUNT(runs) FROM table_name_51 WHERE average > 31.25 AND innings < 24
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total number of runs when the average was less than 31.25 and there were fewer than 24 innings? ### Input: CREATE TABLE table_name_51 (
    runs VARCHAR,
    average VARCHAR,
    innings VARCHAR
) ### Response: SELECT COUNT(runs) FROM table_name_51 WHERE average > 31.25 AND innings < 24