Answer based on context:

In April 1758, the British concluded the Anglo-Prussian Convention with Frederick in which they committed to pay him an annual subsidy of £670,000. Britain also dispatched 9,000 troops to reinforce Ferdinand's Hanoverian army, the first British troop commitment on the continent and a reversal in the policy of Pitt. Ferdinand had succeeded in driving the French from Hanover and Westphalia and re-captured the port of Emden in March 1758 before crossing the Rhine with his own forces,  which caused alarm in France. Despite Ferdinand's victory over the French at the Battle of Krefeld and the brief occupation of Düsseldorf, he was compelled by the successful manoeuvering of larger French forces to withdraw across the Rhine. By this point Frederick was increasingly concerned by the Russian advance from the east and marched to counter it. Just east of the Oder in Brandenburg-Neumark, at the Battle of Zorndorf , a Prussian army of 35,000 men under Frederick on 25 August 1758, fought a Russian army of 43,000 commanded by Count William Fermor. Both sides suffered heavy casualties - the Prussians 12,800, the Russians 18,000 - but the Russians withdrew, and Frederick claimed victory. The American historian Daniel Marston described Zorndorf as a "draw" as both sides were too exhausted and had taken such losses that neither wished to fight another battle with the other. In the undecided Battle of Tornow on 25 September, a Swedish army repulsed six assaults by a Prussian army but did not push on Berlin following the Battle of Fehrbellin.

How many total casualties did were there at the Battle of Zorndorf?
30800