Expensive for whom? Class action lawsuits are typically handled on contingency. If the lawsuit fails, the lawyers eat the time cost, and if the lawsuit succeeds, they are paid out of the funds paid by the wrongdoer.
False. You are describing plaintiff legal fees only. Lawyers do in fact charge a lot of money when you are sued and you generally do not get that back if the case has any merit.
That's why I asked "to whom?" in my last comment. Most people don't pity big companies like Google — who in this case, was arguably the wrongdoer — for the legal fees they have to pay to defend class action lawsuits. They have stables of in-house attorneys, and a meritless case wouldn't cost much to get dismissed.