The plural of the collective noun, loaf is "loaves". "Loafs" is a verb. It means to idle around. "He loafs around too much".
"Leaves" can be the plural of "leaf" or as verb to mean "go away", "depart". He leaves her.
Since bread in not countable, you use "much". So your sentences are correct. However, "loaf" is countable. So you must use "many". B doesn't have as MANY loafs of bread as A