How do I calculate a quote based on a number of questions?