text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_52 (moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR)
  ### Question:
  What's the total number of moves with a result of  ½–½ and a black of Anand before 1999?
  ### Answer:
  SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand"