CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR)

List the rank of the player that left the tournament due to right foot injury
SELECT COUNT(rank) FROM table_24431264_18 WHERE withdrew_due_to = "right foot injury"
SELECT COUNT("rank") FROM "table_24431264_18" WHERE "right foot injury" = "withdrew_due_to"