Vayikra27:32

וְכָל־מַעְשַׂר בָּקָר וָצֹאן כֹּל אֲשֶׁר־יַעֲבֹר תַּחַת הַשָּׁבֶט הָעֲשִׂירִי יִהְיֶה־קֹּדֶשׁ לַיהוָה׃

And every tithe of the herd and the flock, all that passes under the staff, the tenth shall be holy to the Eternal.

Vayikra 27:32

וְכָל־מַעְשַׂר בָּקָר וָצֹאן

Vayikra / Leviticus 27:32 · Drash

Vayikra 27:32

וְכָל־מַעְשַׂר בָּקָר וָצֹאן כֹּל אֲשֶׁר־יַעֲבֹר תַּחַת הַשָּׁבֶט הָעֲשִׂירִי יִהְיֶה־קֹּדֶשׁ לַיהוָה׃

And every tithe of the herd and the flock, all that passes under the staff, the tenth shall be holy to the Eternal.

Drash דְּרָשׁ

A mistake in counting

A shepherd is counting sheep and slips: he calls the ninth "tenth." What now: is the count void, or does the mistake also mean something?

Lekach Tov: herd and flock are counted separately, and new lambs are not mixed with old ones. A torn animal does not pass under the staff. The unborn young of a pregnant animal is not counted: it is part of its mother. By Rabbi Meir, if a man called the ninth and the eleventh "tenth," all three become holy. And at the end the midrash brings words on the humility of Rabbi: he spoke in Rabbi Meir's name without naming him outright.

How Midrash Lekach Tov explain it

Midrash Lekach Tov And every tithe of the herd and the flock, all that passes under the staff

The verse: "And every tithe of the herd and the flock, all that passes under the staff." From here we learn that one does not tithe from the herd for the flock or from the flock for the herd. But sheep are tithed together with goats, for both are included in "flock." And how do we know that one does not tithe from the new for the old? It says: "what comes out of the field year by year" (Devarim / Deuteronomy 14:22). These are the words of Rabbi Akiva. "All that passes under the staff": excluding a torn animal, which does not pass. "The tenth shall be holy": whether he counted them with the staff or counted them lying or standing, though they did not pass.

Another explanation: "The tenth shall be holy": even if she is pregnant, the unborn young is not counted among the flock: it is part of its mother and is counted as tenth together with its mother. From this simple people will understand that the unborn young is not counted in the reckoning of "it and its young."

Another explanation: "The tenth shall be holy to the Eternal": even if he did not call it tenth. And if he called the ninth tenth, the tenth ninth and the eleventh tenth, all three are consecrated, for it says: "the tenth shall be holy." What does he do? The ninth is eaten once it has a blemish, the tenth is the tithe, and the eleventh is offered as a peace offering and makes a substitute. These are the words of Rabbi Meir. Rabbi Yehudah said to him: does a substitute make a substitute? Rabbi Meir said: had it been a substitute, it would not be offered. Rava said: even Rabbi, for he was humble, said "they said in the name of Rabbi Meir," and did not say "Rabbi Meir said." This is at the end of tractate Horayot.

Takeaway

"It and its young you shall not slaughter on one day" (Vayikra / Leviticus 22:28). Lekach Tov says: as the unborn young is not a separate animal in that law, so too in counting the tithe.
A substitute (תְּמוּרָה) is an animal with which one tried to replace a consecrated one. The Torah says that then both become holy (Vayikra / Leviticus 27:33).
Rabbi is what the Talmud calls Rabbi Yehudah HaNasi, the compiler of the Mishnah.