Add new comment

How do you write a function to add values for cases across multiple attributes? For example, if Attribute A = number of brothers in family and if Attribute B = number of sisters in family, how would you write a function for a new attribute that would return the number of children in family (A + B)?