When fleeing from Saul, David goes to Nob and asks for bread:
And David said to Ahimelech the priest, “The king has charged me with a matter and said to me, ‘Let no one know anything of the matter about which I send you, and with which I have charged you.’ I have made an appointment with the young men for such and such a place. Now then, what do you have on hand? Give me five loaves of bread, or whatever is here.”
(1 Samuel 21:2-3) [ESV]
The request is for five loaves of bread, or "whatever is here." The only bread Ahimelech has is the Showbread which he gives David:
And the priest answered David, “I have no common bread on hand, but there is holy bread...So the priest gave him the holy bread, for there was no bread there but the bread of the Presence, which is removed from before the LORD, to be replaced by hot bread on the day it is taken away. (1 Samuel 21:4,6)
The bread described is Showbread which is replaced every Sabbath:
“You shall take fine flour and bake twelve loaves from it; two tenths of an ephah shall be in each loaf. And you shall set them in two piles, six in a pile, on the table of pure gold before the LORD. And you shall put pure frankincense on each pile, that it may go with the bread as a memorial portion as a food offering to the LORD. Every Sabbath day Aaron shall arrange it before the LORD regularly; it is from the people of Israel as a covenant forever. (Leviticus 24:5-8)
Based on David's request "...or whatever is here" and "..the priest gave him the holy bread," I assumed David received all 12 loaves. But some [Yoma 17a-b] understand David received 5 loaves, which was the High Priest's share.
How many loaves did David receive?