"What is the total number?"
Translation:Hvad er det totale antal?
Sum means the same as in English. Antal means "number of things".
If you wrote "hvad er den totale sum" or just "hvad er summen" it would have almost the same meaning. One could argue whether those should be accepted, but I lean to no.