7:1 Now when the wall had been built and I had set up the doors, and the gatekeepers, the singers, and the Levites had been appointed, 2 I gave my brother Hanani and Hananiah the governor of the castle charge over Jerusalem, for he was a more faithful and God-fearing man than many. 3 And I said to them, “Let not the gates of Jerusalem be opened until the sun is hot. And while they are still standing guard, let them shut and bar the doors. Appoint guards from among the inhabitants of Jerusalem, some at their guard posts and some in front of their own homes.” 4 The city was wide and large, but the people within it were few, and no houses had been rebuilt.
5 Then my God put it into my heart to assemble the nobles and the officials and the people to be enrolled by genealogy. And I found the book of the genealogy of those who came up at the first, and I found written in it:
6 These were the people of the province who came up out of the captivity of those exiles whom Nebuchadnezzar the king of Babylon had carried into exile. They returned to Jerusalem and Judah, each to his town. 7 They came with Zerubbabel, Jeshua, Nehemiah, Azariah, Raamiah, Nahamani, Mordecai, Bilshan, Mispereth, Bigvai, Nehum, Baanah.
The number of the men of the people of Israel: 8 the sons of Parosh, 2,172. 9 The sons of Shephatiah, 372. 10 The sons of Arah, 652. 11 The sons of Pahath-moab, namely the sons of Jeshua and Joab, 2,818. 12 The sons of Elam, 1,254. 13 The sons of Zattu, 845. 14 The sons of Zaccai, 760. 15 The sons of Binnui, 648. 16 The sons of Bebai, 628. 17 The sons of Azgad, 2,322. 18 The sons of Adonikam, 667. 19 The sons of Bigvai, 2,067. 20 The sons of Adin, 655. 21 The sons of Ater, namely of Hezekiah, 98. 22 The sons of Hashum, 328. 23 The sons of Bezai, 324. 24 The sons of Hariph, 112. 25 The sons of Gibeon, 95. 26 The men of Bethlehem and Netophah, 188. 27 The men of Anathoth, 128. 28 The men of Beth-azmaveth, 42. 29 The men of Kiriath-jearim, Chephirah, and Beeroth, 743. 30 The men of Ramah and Geba, 621. 31 The men of Michmas, 122. 32 The men of Bethel and Ai, 123. 33 The men of the other Nebo, 52. 34 The sons of the other Elam, 1,254. 35 The sons of Harim, 320. 36 The sons of Jericho, 345. 37 The sons of Lod, Hadid, and Ono, 721. 38 The sons of Senaah, 3,930.
39 The priests: the sons of Jedaiah, namely the house of Jeshua, 973. 40 The sons of Immer, 1,052. 41 The sons of Pashhur, 1,247. 42 The sons of Harim, 1,017.
43 The Levites: the sons of Jeshua, namely of Kadmiel of the sons of Hodevah, 74. 44 The singers: the sons of Asaph, 148. 45 The gatekeepers: the sons of Shallum, the sons of Ater, the sons of Talmon, the sons of Akkub, the sons of Hatita, the sons of Shobai, 138.
46 The temple servants: the sons of Ziha, the sons of Hasupha, the sons of Tabbaoth, 47 the sons of Keros, the sons of Sia, the sons of Padon, 48 the sons of Lebana, the sons of Hagaba, the sons of Shalmai, 49 the sons of Hanan, the sons of Giddel, the sons of Gahar, 50 the sons of Reaiah, the sons of Rezin, the sons of Nekoda, 51 the sons of Gazzam, the sons of Uzza, the sons of Paseah, 52 the sons of Besai, the sons of Meunim, the sons of Nephushesim, 53 the sons of Bakbuk, the sons of Hakupha, the sons of Harhur, 54 the sons of Bazlith, the sons of Mehida, the sons of Harsha, 55 the sons of Barkos, the sons of Sisera, the sons of Temah, 56 the sons of Neziah, the sons of Hatipha.
57 The sons of Solomon's servants: the sons of Sotai, the sons of Sophereth, the sons of Perida, 58 the sons of Jaala, the sons of Darkon, the sons of Giddel, 59 the sons of Shephatiah, the sons of Hattil, the sons of Pochereth-hazzebaim, the sons of Amon.
60 All the temple servants and the sons of Solomon's servants were 392.
61 The following were those who came up from Tel-melah, Tel-harsha, Cherub, Addon, and Immer, but they could not prove their fathers' houses nor their descent, whether they belonged to Israel: 62 the sons of Delaiah, the sons of Tobiah, the sons of Nekoda, 642. 63 Also, of the priests: the sons of Hobaiah, the sons of Hakkoz, the sons of Barzillai (who had taken a wife of the daughters of Barzillai the Gileadite and was called by their name). 64 These sought their registration among those enrolled in the genealogies, but it was not found there, so they were excluded from the priesthood as unclean. 65 The governor told them that they were not to partake of the most holy food until a priest with Urim and Thummim should arise.
66 The whole assembly together was 42,360, 67 besides their male and female servants, of whom there were 7,337. And they had 245 singers, male and female. 68 Their horses were 736, their mules 245,  69 their camels 435, and their donkeys 6,720.
70 Now some of the heads of fathers' houses gave to the work. The governor gave to the treasury 1,000 darics  of gold, 50 basins, 30 priests' garments and 500 minas  of silver.  71 And some of the heads of fathers' houses gave into the treasury of the work 20,000 darics of gold and 2,200 minas of silver. 72 And what the rest of the people gave was 20,000 darics of gold, 2,000 minas of silver, and 67 priests' garments.
73 So the priests, the Levites, the gatekeepers, the singers, some of the people, the temple servants, and all Israel, lived in their towns.
And when the seventh month had come, the people of Israel were in their towns. (ESV)