How to impose a global maximum limit on two webform number fields?
Install the Webform Validationmodule which allows you to easily set rules for fields. So in this case you could add a rule that the number can not go above 8.

You can also use hooks to add your own validation rules in code for more complex formulas like the child and adult combination.