Generally speaking, you should have twice as many infantry as all your other troops put together. This is due to the fact that if you don't have enough infantry, your other units will have a lot of consequences in combat.