How do I control the battle?

Also, when you look at your Barracks and is says for example:
~21 INFANTRY
~15 CAVALRY
~20 ARCHERS
~5 CATAPULTS
Is that the ACTUAL number of each? Or is it like 1=10? cuz i spend alot of time and resources building up my troops and it dosnt seem to be going well.