Error when trying to deploy a form

Dear everyone,
I am having a problem every time I try to deploy a form. Kindly assist.

our form cannot be deployed because it contains errors:

ODK Validate Errors: >> XForm is invalid. See above for the errors. : Invalid calculate for the bind attached to “${total}” : Couldn’t understand the expression starting at this point: ͎$(males)+$(fema… in expression $(males)+$(females) The following files failed validation: ${tmpwf4t97w6} Result: Invalid.

I am also getting this message:
Error occured during the loading of this form. We do not recommend you use this form for data entry until this is resolved.

Please contact with the link to this page and the error message below:

FormLogicError: Could not evaluate: $(males)+$(females), message: callNative() can’t handle nodeset functions yet for $()


@muriithi85, seems like you have an issue here:

Instead it should rather be ${males}+${females}

You will need to replace the ( and ) with { and } brackets when referencing a variable name.