SCHEMA:
CREATE TABLE table_name_52 (moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR)
USER:
What's the total number of moves with a result of  ½–½ and a black of Anand before 1999?

QUERY:
SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand"