Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the sum of number with type 0-4-4 forney locomotive, number smaller than 20 and works number of 1251?

### Inputs:
table_name: table, columns: ['Number', 'Builder', 'Type', 'Date', 'Works number']

### Response:
SELECT COUNT Date FROM table WHERE Type = 0-4-4 forney locomotive AND Number < 20 AND Works number = 1251