Instruct: What is the sum of number with type 0-4-4 forney locomotive, number smaller than 20 and works number of 1251?
Output: SELECT COUNT Date FROM table WHERE Type = 0-4-4 forney locomotive AND Number < 20 AND Works number = 1251