I think 5-7 war factories on country swing depending on economy (in your case i would probably have made 7 because you didnt make much fodder and had a strong eco)
Then you can also stretch to gems.
You would sell when gold start running out of course