Summing and calculating weighted scores from repeat groups (household roster)

Can you remove, please, the ’ in the two calculations:
if( (${Age}>=5 and ${Age} <=9), 1, 0 ) and
if( (${Age}>=10), 1, 0 ).

Thank you @wroos