question: How many years entered service when there were 13 locomotives?
answer: SELECT COUNT(entered_service) FROM table_name_89 WHERE locomotive = "13"
context: CREATE TABLE table_name_89 (entered_service VARCHAR, locomotive VARCHAR)