Why would a prayer exist just to reach a number?
The Gemara says Rabbi Meir taught that a person must say a hundred blessings every day. His proof is a verse in Devarim: "What does Hashem your God ask of you?" Siddur Rashi spells out the wordplay. Do not read mah, "what." Read me'ah, "a hundred."
A weekday gives you plenty of chances. The Amidah has 19 blessings and you say it three times a day. Shabbat comes up short, because its Amidah has only 7. The Gemara tells of Rav Chiya, son of Rav Avya, who made up the gap on Shabbat and festivals by bringing spices and delicacies so he could say a blessing over each.
Siddur Rashi and Machzor Vitry say Ein Keloheinu was set for Shabbat as another fix. Four lines begin with Ein, four with Mi, four with Nodeh. Those three words begin with the letters of amen, and each of the twelve lines counts as one. Then come the lines that begin Baruch and Atah. Together they sound like "Blessed are You... Amen" twelve times, one for each missing blessing.
The same passage in Machzor Vitry then raises an objection. If this prayer already filled the gap, why did Rav Chiya need fruit? And these lines lack the wording of a normal blessing, such as "King of the universe." So how can they count? It goes on to suggest a different order for the lines, and the sources do not settle the matter.
Seder HaYom (a guide to the daily prayers by a rabbi who lived near Tzfat, first printed in 1599) takes the number seriously. It advises counting your blessings through the day, starting from the evening, so you do not end up with fewer than a hundred. For Shabbat it says to pay close attention to the blessings over the Torah reading and the seven blessings of the haftarah (the reading from the Prophets). If that is not enough, it points to the spices and fruit of the Gemara. It does not mention Ein Keloheinu there. So the sources agree the number matters, but not on how to reach it.
Menachot 43b,Siddur Rashi 1,Machzor Vitry, Laws of Shabbat 134,Seder HaYom, One Hundred BlessingsWhy does it say the same thing twenty times?
Count the lines. There are five groups of four: "There is none like," "Who is like," "We thank," "Blessed is," and "You are." In every group the same four titles come in the same order: our God, our Master, our King, our Rescuer. It looks like repetition. The sources give several reasons, and they do not agree on one.
Seder HaYom says the four in each group point to the four-letter Name of God, the way the four Torah passages inside tefillin do. It adds that this praise should be said with care, word by word.
The Chida (Rabbi Chaim Yosef David Azulai, 1700s) passes on a plain-meaning reading he says he heard. Each title answers one of four world powers. "God" answers Babylon, whose king Nebuchadnezzar ordered everyone to bow to a statue. "Master" answers Media, where Ahasuerus (the king in the Purim story) sold us to Haman as slaves. "King" answers Greece, since Alexander was king of the whole world. "Rescuer" answers Esau. He adds that he is being brief. This is a reading he reports, not a ruling.
Machzor Vitry reads the lines as a question and its answer. It suggests the right order is "Who is like our God?" and then "There is none like our God," because the Tanach often asks "who" and then answers, as in "Who is this King of glory? Hashem of hosts." In our siddur the "none" lines come first.
A count, a Name, four empires, a question and an answer: these are different explanations, and none cancels the others. What Seder HaYom asks for is simple. Do not rush it. Say it word by word.
Seder HaYom, Order of Kaveh,Kesher Gudal 20:7,Machzor Vitry, Laws of Shabbat 134,Tehillim 24:10What if I pray and nothing seems to happen?
The first line of this prayer speaks to exactly that. "Hope in Hashem. Be strong, and He will make your heart bold. And hope in Hashem." It says "hope" twice. Radak (Rabbi David Kimchi, Provence, around 1200) says the repeat means the hope should never leave your heart.
The L'David Hashem Ori prayer ends with this same verse and tells the Gemara's teaching on it: if you prayed and were not answered, pray again. The same passage of the Gemara lists four things that need strengthening: Torah, good deeds, prayer and derech eretz. Rashi (the great French commentator of the 1000s) explains derech eretz as a person's work, whether a craftsman, a merchant or a soldier. Each is backed by a verse that uses the word "strong." For prayer it is this one.
Rashi says a person should strengthen these four all the time, with all his strength. So the Gemara treats prayer as something you have to keep working at.
Ibn Ezra (a Bible commentator born in Spain, 1100s) notes that "He will make your heart bold" is something done to you: God is the one who strengthens your heart. On his reading the verse is an instruction and also a promise.
The next verse in the siddur belongs to Hannah. She could not have children. The text says that year after year she went up to the sanctuary, and that she prayed there in tears. Her son Shmuel was born, and after he was weaned she brought him to the sanctuary. There she said the prayer that includes "There is no one holy like Hashem."
What the sources do not say is that prayer always gets you the answer you want. They say to go back and ask again, and not to give up hope. That is as far as they go.
Berakhot 32b,Rashi on Berakhot 32b,Radak on Tehillim 27:14,Ibn Ezra on Tehillim 27:14,Shmuel I 1:6-24 and 2:1-2