I'm glad to see no one has voted for 'amount'.
Why not either?
The amount of unsold tickets was .. (singular lump sum) .. similar to the total is...
J-P > Because you're talking about "How many" tickets were left unsold.
It could be either or.