So Moses counted the firstborn sons of the people of Israel, just as the LORD had commanded.