from [the time] the sickle is first put to the standing crop, [you shall begin to count seven weeks]: [I.e.,] from the time the omer is harvested [on the sixteenth of Nissan], which is the beginning of the harvest. — [see Lev . 23:10, Sifrei ; Men. 71a]
10And you shall perform the Festival of Weeks to the Lord, your God, the donation you can afford to give, according to how the Lord, your God, shall bless you.
the donation you can afford to give: [I.e.,] sufficient generous donation from you; according to the blessing [that God bestows upon you], bring peace offerings of happiness [these are extra peace offerings in addition to the Festival offerings] and invite guests to eat [with you].
11And you shall rejoice before the Lord, your God, -you, and your son, and your daughter, and your manservant, and your maidservant, and the Levite who is within your cities, and the stranger, and the orphan, and the widow, who are among you, in the place which the Lord, your God, will choose to establish His Name therein.
the Levite… the stranger, the orphan, and the widow: [God says:] These are My four, corresponding to your four, [namely,] “Your son, and your daughter, and your manservant, and your maidservant.” If you shall gladden Mine, I will gladden yours. — [Midrash Aggadah, Midrash Hagadol. Compare Tanchuma 18, Pesikta d’Rav Kahana p.100a. Note that in incunabula editions, this comment of Rashi is connected to the preceding one: and invite guests to eat [with you]: the Levite… the stranger, the orphan, and the widow. [God says:] These are My four…]