Transfer payments are not counted as part of GDP, the market value of all final goods and services produced within a county during a specific time. You are correct the labor services etc by the law firms involved is counted.
“Transfer payments are not counted as part of GDP.........”
It was stupid for me to even think they might be. The US is so full of lawsuits and legal proceedings, that this is a very fluffy sector, that nations such as Russia and Japan do not have much of in their GDP. Compared to the USA.