Tested calculation for total with numbers