It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that a man came to him and asked: "Did your Prophet (peace and blessings be upon him) tell you how many caliphs there will be after him?" He replied: "Yes; and no one has asked me about this before you, even though you are the youngest of all those present. [The number of caliphs] will be equal to the number of the leaders (nuqaba') of Sayyiduna Musa."
The chain of this narration is hasan (good). Imam Ahmad bin Hanbal, Musaddad, Ishaq bin Rahawayh and Abu Ya'la al-Mawsili recorded it in their respective Musnads, and all these narrations, with their chains, have already come in the Book of Leadership (al-Imarah), in the chapter "How many caliphs will rule this Ummah".