user: ### NOW ANSWER:
Question: How many types of valves were used on this engine that was built on 1902-05?
Columns: ['Class', 'Firebox', 'Cylinder size', 'Valves', 'Valve gear', 'Number built', 'Years built']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['E2', 'Radial-stay', '20 ½” x 26”', 'Slide', 'Stephenson', '88', '1901-02']
SQL:

assistant: SELECT COUNT("Valves") FROM "Table" WHERE "Years built" = '1902-05';