The Book of Jasher 86
3And Moses and Elazer numbered the children of Israel after their families, and the number of all Israel was seven hundred thousand, seven hundred and thirty.
4And the number of the children of Levi, from one month old and upward, was twenty-three thousand, and amongst these there was not a man of those numbered by Moses and Aaron in the wilderness of Sinai.
6And it was after this that the Lord said to Moses, Say unto the children of Israel to avenge upon Midian the cause of their brethren the children of Israel.
7And Moses did so, and the children of Israel chose from amongst them twelve thousand men, being one thousand to a tribe, and they went to Midian.
10And they took all the spoil and all the prey, and they brought it to Moses and to Elazer to the plains of Moab.
11And Moses and Elazer and all the princes of the congregation went forth to meet them with joy.
12And they divided all the spoil of Midian, and the children of Israel had been revenged upon Midian for the cause of their brethren the children of Israel.