The goal of this algorithm is to determine the number of questions that the respondents will be answered in a hypothetical survey.