Translation:How many cars have been sold?
Why is er being used here?
Because in Dutch most people would use er here, it is not required though. Similar in English you could add there to the sentence, but it is not required.
How do you say "How much (money) were the cars sold?"
De auto's zijn voor 'amount of money' verkocht