added troop count matrix