Who was included in the census?
Rashi (in Shir ha'Shirim 3:7), Seforno and Ramban (in Pinchas, 26:64, based on Bava Basra, 121b): It incorporated men between the ages of twenty and sixty, since men over the age of sixty do not go out to war. 1
Tosfos (Bava Basra 117b DH mi'Ka'an): Even men over the age of sixty were included.
Abarvenel: The Torah did not say 'until sixty ' because some men above sixty are capable of fighting.
If it was necessary to count the tribes as is the way of kings who order a census, why did Hashem instruct Moshe and Aharon to find out the sum total of the entire nation?
Ramban #1: So that the people should be aware of Hashem's great kindness, inasmuch as, when they arrived in Egypt they numbered seventy, and now, they were numerous like the sand of the sea, so many from the age of twenty and upwards. 1
Ramban #2: So that every person would be able to pass before Moshe and Aharon, who would gaze upon them with an Ayin Tovah and bless them 2 - ' "Hashem Elokei Avoseichem Yosef aleichem kachem Elef Pe'amim" 3 and you will not be reduced', and the half-Shekel would then atone for them.
Ramban #3: Because they were poised to enter Eretz Yisrael, to begin the conquest of Cana'an, 4 and as is the way of an army going into battle, 5 Moshe and the Nesi'im needed to count the soldiers, to know the sum total of fighting men and how many there were in each tribe. 6
Ramban #4: Because they were also about to distribute the land, and it was necessary to know the numbers, in order to know into how many portions they would need to divide it. 7
Not even counting the women and children.
Backed by the merit of the whole of K?lal Yisrael. See Ramban.
See 10:29.
Ramban: Which is what the Torah was referring to when it wrote (in Pasuk 3) "Kol Yotzei Tzava be'Yisrael".
Ramban: So that when they arrived at the Plains of Mo'av, they would be able to present them with their battle orders, since the Torah does not rely on miracles. In answers #3, #4 and #5 the Ramban cites Bamidar Rabah - answers #4 & #5 do not necessarily answer the question under discussion.