These were the clans of Gad, and their registration numbered 40,500.