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_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR)
  ### Question:
  List the rank of the player that left the tournament due to right foot injury
  ### Answer:
  SELECT COUNT(rank) FROM table_24431264_18 WHERE withdrew_due_to = "right foot injury"