At the beginning of Bamidbar, we see a counting of each male, head by head. The commentators debate the merit of counting each person when in Jewish tradition, there is strong merit in the collective.
Critics of the Bible often cite Scripture that appears to illustrate contradictions in the word of God. They are not contradictions, but God’s way of building our character and spiritual strength.