A Midrash explained that Moses numbered the Israelites like a shepherd to whom an owner entrusted a flock by number. When the shepherd came to the end of the shepherd's time, on returning them, the shepherd had to count them again. When Israel left Egypt, God entrusted the Israelites to Moses by number, as reports, "And the Lord spoke to Moses in the wilderness of Sinai . . . 'Take the sum of all the congregation of the children of Israel.'" And records that "the children of Israel journeyed from Rameses to Succoth, about 600,000 men on foot," demonstrating that Moses took responsibility for the Israelites in Egypt by number. When, therefore, Moses was about to depart from the world in the plain of Moab, he returned them to God by number after having them counted in the census reported at