If you want to collect a certain number of results in your survey, but not more than the intended number, you can do it by setting an appropriate limit.
To do this, go to the Create tab -> Survey settings -> Automatic start or finish. Here, select the option "Close the survey when the specific number of responses is collected" and enter the exact value.
After reaching the limit, your survey will automatically change its status to inactive.