Adding an If

So that the program will only run if there are more than 3 options, otherwise the program wouldn't work.