Get the number of questions dynamically.