Moses did exactly what the Lord had commanded. Moses listed the people while they were in the Desert of Sinai.