Bamidbar26:5

רְאוּבֵן בְּכוֹר יִשְׂרָאֵל בְּנֵי רְאוּבֵן חֲנוֹךְ מִשְׁפַּחַת הַחֲנֹכִי לְפַלּוּא מִשְׁפַּחַת הַפַּלֻּאִי׃

Reuven (Reuben), the firstborn of Israel. The sons of Reuven: Chanoch (Enoch), the family of Chanoch, of Pallu, the family of Pallu,

Bamidbar 26:5

רְאוּבֵן בְּכוֹר יִשְׂרָאֵל

Bamidbar / Numbers 26:5 · Drash

Bamidbar 26:5

רְאוּבֵן בְּכוֹר יִשְׂרָאֵל בְּנֵי רְאוּבֵן חֲנוֹךְ מִשְׁפַּחַת הַחֲנֹכִי לְפַלּוּא מִשְׁפַּחַת הַפַּלֻּאִי׃

Reuven (Reuben), the firstborn of Israel. The sons of Reuven: Chanoch (Enoch), the family of Chanoch, of Pallu, the family of Pallu,

Drash דְּרָשׁ

The shepherd returns the flock

Whoever takes something into safekeeping returns it by count. The midrash sees the new census as such an account by Moshe (Moses) before he leaves, and shows who is missing from it.

Tanchuma: after the plague they are counted, as an owner counts his sheep after a wolf, and as a shepherd returns a flock by count: Moshe received the people by count when they left Egypt and returns them by count in the plains of Moav. Midrash Lekach Tov: in this count the tribe of Reuven (Reuben) has forty-three thousand seven hundred and thirty men, while in the wilderness of Sinai it had forty-six thousand five hundred. The tribe shrank by two thousand seven hundred and seventy.

How Midrash Tanchuma and Midrash Lekach Tov explain it

Midrash Tanchuma After the plague

"After the plague the Eternal said to Moshe (Moses) and to Elazar (Eleazar)", "Take the count of the whole congregation." Wherever they fell, they had to be counted. What is this like? Like a wolf that fell upon a flock: the owner of the flock has to count the sheep to know how many are missing.

Another explanation: why did He count them here? What is this like? Like a shepherd to whom the master of the house handed his flock by count. The shepherd finished his service. When he returns the flock, he has to count it.

So too, when Israel went out of Egypt, the Holy One, blessed is He, handed them to Moshe by count, as it is said: "And the Eternal spoke to Moshe in the wilderness of Sinai", and further: "Take the count of the whole congregation" (Bamidbar / Numbers 1:1–2). And when they went out it is written: "And the children of Israel journeyed" (Bamidbar / Numbers 33:5): so he received them by count. When the time came for him to part from them in the plains of Moav, he returned them by count. Therefore it is said: "Take the count."

Midrash Lekach Tov Reuven, the firstborn of Israel

"These are the families of Reuven (Reuben), and those counted of them were forty-three thousand seven hundred and thirty." And in the wilderness it is written: "those counted of the tribe of Reuven were forty-six thousand five hundred" (Bamidbar / Numbers 1:21). Reuven lost two thousand seven hundred and seventy.

Takeaway

46,500 − 43,730 = 2,770.
The whole people in the first count were six hundred and three thousand five hundred and fifty (Bamidbar / Numbers 1:46), in the second six hundred and one thousand seven hundred and thirty (Bamidbar / Numbers 26:51).
Datan (Dathan) and Aviram (Abiram), whom the earth swallowed together with Korach (Korah), were of the tribe of Reuven (Bamidbar / Numbers 26:9–10).