How many spells can a cleric learn?
The number of spells a sorcerer can learn is listed in the PHB, e.g. a 5th level sorcerer can know 6 spells total. For a wizard, it says they learn 2 spells per level.
This however is not shown for the cleric. How many spells can a cleric learn(not prepare) per cleric level, not including domain spells?
How many spells can a Cleric learn?
None, because Clerics 'Prepare' their spells without having to learn them.
Clerics, Paladins, and Druids are unique spellcasters in that, unlike every other spellcaster, they do not learn a certain number of spells per level up. This means that they have the entire list of spells to work from. A cleric doesn't learn any spells mechanically, but they do prepare them, which means they do not have to learn them as they gain levels. The process of preparing spells is detailed in the PHB on page 58:
... you prepare the list of cleric spells that are available for you to cast, choosing from the cleric spell list. When you do so, choose a number of spells... The spells must be of a level for which you have spell slots.
(The cleric spell list it mentions is found starting on page 207.)
A 1st level Cleric can prepare a number of spells from the full list of 1st level spells equal to their Wisdom Modifier + Cleric Level per day. Once a Cleric, Druid, or Paladin reaches the proper level to gain 2nd level spell slots, again they can prepare spells from the full list of 2nd level spells. (The same section on page 58 gives a good example of a level 3 cleric, who has 1st and 2nd level spell slots.) You can then change your list of prepared spells in between long rests, which makes Clerics, Druids, and Paladins very versatile with their spells, as they can be changed to suit the needs of the party.
Wizards also prepare spells, they do no know them. While they are limited to he spells in their spell book, in theory, that could be every wizard spell.
@DaleM for the same reason I am not mentioning the different permanently prepared spells from each Divine Domain, I am purposely not including that Wizards BOTH Learn spells each level, AND have to Prepare a certain number of them from that growing list. The question has been answered directly, without adding filler information that, while good information, is irrelevant to the answer. This was about Clerics particularly.
And what happens with spells from others books or homebrew (like this page)? Does the cleric know all of them?