You can take the TOEFL test any number of times you like. However, you cannot take it more than once in a period of 12 days and not more than 5 times in a year.